System and method for applying development patterns for component based applications

ABSTRACT

A computing device and method for coordinating the development of a client application including application components comprising one or more of at least one of a data component, a message component or a screen component, having corresponding component definitions, or a workflow component comprising a series of instructions. A first development pattern module configured for interaction with a development environment is provided by a computer user interface, the first development pattern module configured for selecting a first pattern from a plurality of patterns based on an application component type central to the client application, the developing definitions of at least one of the application components through interaction with a data model of the development environment providing a persistent state of the application components . . . the first pattern is selected from the group consisting of: a pattern for generating a suitable application based on an available backend data source messaging description; a pattern for developing the suitable application based on an available backend data source messaging description such that the entire application is developed including data components and screen components; a pattern for developing the application based on an existing database schema; a pattern for developing a standard set of data components that model a particular business domain for the application, a screen pattern for coordinating the development of a screen component as the first component; a message pattern for coordinating a development of a message component as the first component; and a script pattern for coordinating a development of a workflow component as a second component as recited in a manner in the independent claims 1 and 21. 
     Any comments considered necessary by applicant must be submitted no later than the payment of the issue fee and, to avoid processing delays, should preferably accompany the issue fee. Such submissions should be clearly labeled “Comments on Statement of Reasons for Allowance.”

REFERENCE TO A COMPUTER PROGRAM LISTING APPENDIX

A computer program listing appendix is filed herewith submitted on asingle compact disc (Copy 1) and a duplicate copy (Copy 2) of thecompact disc. The contents of the compact disk, and its duplicate copy,include five (5) ASCII files entitled, “11078430_(—)1.txt”,“11078430_(—)2txt”, “11078430_(—)3txt”, “11078430_(—)4txt”, and“11078430_(—)5txt”. The contents of this computer program listingappendix, filed on compact disk, are incorporated herein by reference.

BACKGROUND

This application relates generally to development of component basedapplications and their availability over a network.

There is a continually increasing number of terminals and mobile devicesin use today, such as smart phones, PDAs with wireless communicationcapabilities, personal computers, self service kiosks and two-waypagers/communication devices. Software applications which run on thesedevices increase their utility. For example, a smart phone may includean application which retrieves the weather for a range of cities, or aPDA may include an application that allows a user to shop for groceries.These software applications take advantage of the connectivity to anetwork in order to provide timely and useful services to users.However, due to the restricted resources of some devices, and thecomplexity of delivering large amounts of data to the devices,developing and maintaining software applications tailored for a varietyof devices remains a difficult and time-consuming task.

Currently, mobile communication devices are configured to communicatewith Web Services through Internet based Browsers and/or nativeapplications. Browsers have the advantage of being adaptable to operateon a cross-platform basis for a variety of different devices, but have adisadvantage of requesting pages (screen definitions in HTML) from theWeb Service, which hinders the persistence of data contained in thescreens. A further disadvantage of Browsers is that the screens arerendered at runtime, which can be resource intensive. Nativeapplications have the advantage of being developed specifically for thetype of mobile device, thereby providing a relatively optimizedapplication program for each runtime environment. However, nativeapplications have a disadvantage of not being platform independent,thereby necessitating the development of multiple versions of the sameapplication, as well as being relatively large in size, thereby taxingthe memory resources of the mobile device. Further, applicationdevelopers need experience with programming languages such as Java™ andC++ to construct these hard coded native applications. There is a needfor application development environments that can assist in thedevelopment of applications for selected devices and terminals withtheir respective runtime environment, as well as being capable ofselecting from a variety of back-end data sources.

Systems and methods disclosed herein provide a component basedapplication development environment to obviate or mitigate at least someof the above presented disadvantages.

SUMMARY

Current software applications take advantage of the connectivity to anetwork in order to provide timely and useful services to users.However, due to the restricted resources of some devices, and thecomplexity of delivering large amounts of data to the devices,developing and maintaining software applications tailored for a varietyof devices remains a difficult and time-consuming task. Currentapplication generation environments are not based on componentapplication architecture, which facilitates generation of an applicationfor running on clients having a wide variety of runtime environments.Native applications are an example of current applications which havedisadvantages of not being platform independent, thereby necessitatingthe development and subsequent generation of multiple versions of thesame application, as well as being relatively large in size, therebytaxing the memory resources of the mobile device.

Contrary to current application generation environments a system andmethod is provided for coordinating the development of an applicationincluding a first component having definitions expressed in a structureddefinition language and a second component having a series ofinstructions. The components define the processing on a device runtimeenvironment of messages communicated over a network between the deviceand a datasource. The system and method comprise a first developmentpattern configured for interaction with a development environmentprovided by a computer user interface, the first pattern for guiding auser of the user interface with a plurality of predefined steps tocoordinate the development of the application components through userinput events via the user interface The first pattern is configured forselecting from a plurality of patterns based on a component type centralto the first development pattern such that he component type is selectedfrom a plurality of types including at least one of data, message,screen, and workflow. The system and method also include a first modulecorresponding to the selected component type and configured for couplingto the first pattern. The first module is for developing the definitionsof at least one of the components through interaction with a data modelof the development environment providing a persistent state of theapplication. The operation of the first module is coordinated using theplurality of the predefined steps communicated to the user through theuser interface; wherein the developed components are subsequentlyassembled as the application.

Accordingly, a system is provided for coordinating the development of anapplication including a first component having definitions expressed ina structured definition language and a second component having a seriesof instructions, the components for defining the processing on a deviceruntime environment of messages communicated over a network between thedevice and a datasource, the system comprising: a first developmentpattern module configured for interaction with a development environmentprovided by a computer user interface, the first pattern for guiding auser of the user interface with a plurality of predefined steps tocoordinate the development of the application components through userinput events via the user interface, the first pattern configured forselecting from a plurality of patterns based on a component type centralto the first development pattern, the component type for selecting froma plurality of types including at least one of data, message, screen,and workflow; and a first module corresponding to the selected componenttype and configured for coupling to the first pattern, the first modulefor developing the definitions of at least one of the components throughinteraction with a data model of the development environment providing apersistent state of the application, the operation of the first modulebeing coordinated using the plurality of the predefined stepscommunicated to the user through the user interface; wherein thedeveloped components are subsequently assembled as the application.

Also disclosed is a method for coordinating the development of anapplication including a first component having definitions expressed ina structured definition language and a second component having a seriesof instructions, the components for defining the processing on a deviceruntime environment of messages communicated over a network between thedevice and a datasource, the method comprising the steps of: selecting afirst development pattern module configured for interaction with adevelopment environment provided by a computer user interface; guiding auser of the user interface through the first pattern with a plurality ofpredefined steps to coordinate the development of the applicationcomponents through user input events via the user interface, the firstpattern configured for selecting from a plurality of patterns based on acomponent type central to the first development pattern, the componenttype for selecting from a plurality of types including at least one ofdata, message, screen, and workflow; selecting a first modulecorresponding to the selected component type and configured for couplingto the first pattern; and developing by the first module the definitionsof at least one of the components through interaction with a data modelof the development environment providing a persistent state of theapplication, the operation of the first module being coordinated usingthe plurality of the predefined steps communicated to the user throughthe user interface; wherein the developed components are subsequentlyassembled as the application.

Also disclosed is a computer program product for coordinating thedevelopment of an application including a first component havingdefinitions expressed in a structured definition language and a secondcomponent having a series of instructions, the components for definingthe processing on a device runtime environment of messages communicatedover a network between the device and a datasource, computer programproduct comprising: a computer readable medium; a first developmentpattern module stored on the computer readable medium configured forinteraction with a development environment provided by a computer userinterface, the first pattern for guiding a user of the user interfacewith a plurality of predefined steps to coordinate the development ofthe application components through user input events via the userinterface, the first pattern configured for selecting from a pluralityof patterns based on a component type central to the first developmentpattern, the component type for selecting from a plurality of typesincluding at least one of data, message, screen, and workflow; and afirst module stored on the computer readable medium corresponding to theselected component type and configured for coupling to the firstpattern, the first module for developing the definitions of at least oneof the components through interaction with a data model of thedevelopment environment providing a persistent state of the application,the operation of the first module being coordinated using the pluralityof the predefined steps communicated to the user through the userinterface; wherein the developed components are subsequently assembledas the application.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features will become more apparent in the followingdetailed description in which reference is made to the appended drawingswherein:

FIG. 1 is a block diagram of a communication network system;

FIG. 2 is a block diagram of a tool for developing and generating theapplications of FIG. 1;

FIG. 3 is a block diagram of a component application package of FIG. 1;

FIG. 4 is a block diagram illustrating example components of theapplication of FIG. 3;

FIG. 5 shows example screens and workflow for a sample componentapplication of FIG. 3;

FIG. 6 is a block diagram of the tool architecture of FIG. 2;

FIG. 7 shows editors of the tool of FIG. 6;

FIG. 8 shows viewers of the tool of FIG. 6;

FIG. 9 shows a method of application validation using the tool of FIG.6;

FIG. 10 shows a method of application generation using the tool of FIG.6;

FIG. 11 shows a method of building a deployable application usingapplication of FIG. 10;

FIG. 12 shows a method of deploying the application of FIG. 11;

FIG. 13 shows wizards of the tool of FIG. 6;

FIG. 14 shows an example operation of the wizard patterns of FIG. 13;

FIG. 15 is a further embodiment of the operation of FIG. 14;

FIG. 16 is an example screen of a pattern of FIG. 13;

FIG. 17 is a further embodiment of the screen of FIG. 16; and

FIG. 18 is a further embodiment of the screen of FIG. 16

DESCRIPTION

Network System

Referring to FIG. 1, a network system 10 comprises mobile communicationdevices 100 for interacting with one or more backend data sources 106(e.g. a schema based service such as web service or database thatprovides enterprise services used by an application 105) via a wirelessnetwork 102 coupled to an application gateway AG. The devices 100 aredevices such as but not limited to mobile telephones, PDAs, two-waypagers, dual-mode communication devices. The network 10 can also havedesktop computers 117 coupled though a local area network 119. Thedevices 100 and desktop computers 117 of the network 10 are hereafterreferred to as the devices 100 for the sake of simplicity. It isrecognised that the application gateway AG and data sources 106 can belinked via extranets (e.g. the Internet) and/or intranets as is known inthe art. The application gateway AG handles request/response messagesinitiated by the application 105 as well as subscription notificationspushed to the device 100 from the data sources 106. The ApplicationGateway AG can function as a Data Mapping Server for mediating messagingbetween a client runtime RE on the device 100 and a backend server ofthe data sources 106. The Runtime Environment RE is an intelligentcontainer that executes application 105 components and provides commonservices as needed for execution of the applications 105. The gateway AGcan provide for asynchronous messaging for the applications 105 and canintegrate and communicate with legacy back-end data sources 106. Thedevices 100 transmit and receive the Wireless Component Applicationstechnology or wireless component applications 105, as further describedbelow, when in communication with the data sources 106, as well astransmit/receive messaging associated with operation of the applications105. The devices 100 can operate as web clients of the data sources 106through execution of the applications 105 when provisioned on respectiveruntime environments RE of the devices 100.

For satisfying the appropriate messaging associated with theapplications 105, the application gateway AG communicates with the datasources 106 through various protocols (such as but not limited to HTTP,SQL, and component API) for exposing relevant business logic (methods)to the applications 105 once provisioned on the devices 100. Theapplications 105 can use the business logic of the data sources 106similarly to calling a method on an object (or a function). It isrecognized that the applications 105 can be downloaded/uploaded inrelation to data sources 106 via the network 102 and application gatewayAG directly to the devices 100. For example, the application gateway AGis coupled to a provisioning server 108 and a discovery server 110 forproviding a mechanism for optimized over-the-air provisioning of theapplications 105, including capabilities for application 105 discoveryfrom the device 100 as listed in a UDDI (for example) registry 112. TheRegistry 112 can be part of the Discovery Service implemented by theserver 110, and the registry 112 is used for publishing the applications105. The application 105 information in the registry 112 can containsuch as but not limited to a Deployment Descriptor DD (containsinformation such as application 105 name, version, and description) aswell as the location of this application 105 in an applicationrepository 114.

Referring again to FIG. 1, for initialization of the runtime environmentRE, the RE receives the gateway AG URL and the gateway AG public key ina MDS 115 service book. The runtime environment RE uses this informationto connect to the gateway AG for initial handshaking. Device 100provisioning or BES 116, depending on the domain, pushes the MDS 115service book to the device 100. It is recognised there could be morethan one gateway AG in the network 10, as desired. Once initialized,access to the applications 105 by the devices 100, asdownloaded/uploaded, can be communicated via the gateway AG directlyfrom the application repository 114, and/or in association with datasource 106 direct access (not shown) to the repository 114.

Application Design User Interface or Tool 116

Referring to FIG. 1, the applications 105 can be stored in therepository 114 as a series of packages that can be created by a Studiodeveloper tool 116, which is employed by developers of the applications105. The developer design tool 116 can be a RAD tool used to develop theWired and/or Wireless Component Application 105 packages (or“applications”). The tool 116 can provide support for a drag-and dropgraphical approach for the visual design of application 105 components(see FIG. 4) such as but not limited to screens 402, data elements 400,messages 404 and application workflow logic 406, as further definedbelow. The application 105 packages are represented as metadata (XML)that can be generated automatically by the tool 116 through an automaticcode generation process. This tool 116 can provide for the automaticgenerated code to include or be otherwise augmented by an industrystandard scripting language (e.g. JavaScript™) or otherscripting/programming languages known in the art. The availability ofthe application 105 packages of the repository 114 are published via thediscovery service of the server 110 in the registry 112. It isrecognized that there can be more than one repository 114 and associatedregistries 112 as utilized by the particular network 10 configuration ofthe application gateway AG and associated data sources 106.

Referring to FIG. 2, the tool 116 is operated on a computer 201 that canbe connected to the network 10 via a network connection interface suchas a transceiver 200 coupled via connection 218 to a deviceinfrastructure 204. The transceiver 200 can be used to upload completedapplication programs 105 to the repository 114 (see FIG. 1), as well asaccess the registry 112 and selected data sources 106. Referring againto FIG. 2, the developer design tool 116 also has a user interface 202,coupled to the device infrastructure 204 by connection 222, to interactwith a user (not shown). The user interface 202 includes one or moreuser input devices such as but not limited to a keyboard, a keypad, atrackwheel, a stylus, a mouse, a microphone, and is coupled to a useroutput device such as a speaker (not shown) and a screen display 206. Ifthe display 206 is touch sensitive, then the display 206 can also beused as the user input device as controlled by the device infrastructure204. The user interface 202 is employed by the user of the tool 116 tocoordinate the design of applications 105 using a series of editors 600and viewers 602 (see FIG. 6), using a plurality of wizards 604 toassist/drive in the workflow of the development process.

Referring again to FIG. 2, operation of the tool computer 201 is enabledby the device infrastructure 204. The device infrastructure 204 includesa computer processor 208 and the associated memory module 210. Thecomputer processor 208 manipulates the operation of the networkinterface 200, the user interface 202 and the display 206 of the tool116 by executing related instructions, which are provided by anoperating system and application 105 design editors 600, wizards 604,dialogs 605 and viewers 602 resident in the memory module 210. Further,it is recognized that the device infrastructure 204 can include acomputer readable storage medium 212 coupled to the processor 208 forproviding instructions to the processor 208 and/or to load/design theapplications 105 also resident (for example) in the memory module 210.The computer readable medium 212 can include hardware and/or softwaresuch as, by way of example only, magnetic disks, magnetic tape,optically readable medium such as CD/DVD ROMS, and memory cards. In eachcase, the computer readable medium 212 may take the form of a smalldisk, floppy diskette, cassette, hard disk drive, solid state memorycard, or RAM provided in the memory module 210. It should be noted thatthe above listed example computer readable mediums 212 can be usedeither alone or in combination.

Referring again to FIG. 2, the design tool 116 is operated on thecomputer 201 as an application development environment for developingthe applications 105. The development methodology of the tool 116 can bebased on a visual “drag and drop” system of building the applicationvisual, data, messaging behaviour, and runtime navigation model. Thetool 116 can be structured as a set of plug-ins to a generic integrateddesign environment (IDE) framework, such as but not limited to theEclipse framework, or the tool 116 can be configured as a completedesign framework without using plug-in architecture. For exemplarypurposes only, the tool 116 will now be described as a plug-in designenvironment using the Eclipse framework.

Referring to FIGS. 2 and 6, Eclipse makes provisions for a basic,generic tool 116 environment that can be extended to provide customeditors, wizards, project management and a host of other functionality.The Eclipse Platform is designed for building integrated developmentenvironments (IDEs) that can be used to create applications as diverseas web sites, embedded Java™ programs, C++ programs, and EnterpriseJavaBeans™. The navigator view 230 shows files in a user's (e.g.developer) workspace; a text editor section 232 shows the content of afile being worked on by the user of the tool 116 to develop theapplication 105 and associated components 400,402,404,406 (see FIG. 4)in question; the tasks view section 234 shows a list of to-dos for theuser of the tool 116; and the outline viewer section 236 shows forexample a content outline of the application 105 being designed/edited,and/or may augment other views by providing information about thecurrently selected object such as properties of the object selected inanother view. It is recognised that the tool 116 aids the developer increating and modifying the coded definition content of the components400,402,404 in the structured definition language (e.g. in XML).Further, the tool 116 also aids the developer in creating, modifying,and validating the interdependencies of the definition content betweenthe components 400,402,404, such as but not limited to message/data andscreen/data relationships. It is also recognised that presentation onthe display of wizard 604 and dialog 605 content for use by thedeveloper (during use of the editors 600 and viewers 602) can bepositioned in one of the sections 230,232,234,236 and/or in a dedicatedwizard section (not shown), as desired.

The Eclipse Platform is built on a mechanism for discovering,integrating, and running modules called plug-ins (i.e. editors 600 andviewers 602). When the Eclipse Platform is launched via the UI 202 ofthe computer 201, the user is presented with an integrated developmentenvironment (IDE) on the display 206 composed of the set of availableplug-ins, such as editors 600 and viewers 602. The various plug-ins tothe Eclipse Platform operate on regular files in the user's workspaceindicated on the display 206. The workspace consists of one or moretop-level projects, where each project maps to a correspondinguser-specified directory in the file system, as stored in the memory 210(and/or accessible on the network 10), which is navigated using thenavigator 230. The Eclipse Platform UI paradigm is based on editors,views, and perspectives. From the user's standpoint, a workbench display206 consists visually of views 602 and editors 600. Perspectivesmanifest themselves in the selection and arrangements of editors 600 andviews 602 visible on the display 206. Editors 600 allow the user toopen, edit, and save objects. The editors 600 follow an open-save-closelifecycle much like file system based tools. When active, a selectededitor 600 can contribute actions to a workbench menu and tool bar.Views 602 provide information about some object that the user is workingwith in the workbench. A viewer 602 may assist the editor 600 byproviding information about the document being edited. For example,viewers 602 can have a simpler lifecycle than editors 600, wherebymodifications made in using a viewer 602 (such as changing a propertyvalue) are generally saved immediately, and the changes are reflectedimmediately in other related parts of the display 206. It is alsorecognised that a workbench window of the display 206 can have severalseparate perspectives, only one of which is visible at any given moment.Each perspective has its own viewers 602 and editors 600 that arearranged (tiled, stacked, or detached) for presentation on the display206.

Component Applications 105

Referring to FIG. 3, the application 105 packages have applicationelements or artifacts 301 such as but not limited to XML definitions300, mappings 302, application resources 304, and optionally resourcebundle(s) 306 for localization support. XML definitions 300 are XMLcoding of application data 400, messages 404, screens 402 components andworkflow 406, part of the raw application 105. It is recognised that XMLsyntax is used only as an example of any structured definition languageapplicable to coding of the applications 105. Application mapping 302defines the relationship of content in the application messaging tobackend operation of the data sources 106. The application developercreates the mappings 302 using the tool 116, whereby the gateway AGutilizes this mapping 302 information during communication of theapplication 105 request/response messages between the runtime RE, of thedevices 100, and the data sources 106. The resources 304 are one or moreresources (images, soundbytes, media, etc . . . ) that are packaged withthe application 105 as static dependencies. For example, resources 304can be located relative to a resources folder (not shown) such that aparticular resource may contain its own relative path to the main folder(e.g. resources/icon.gif,resources/screens/clipart_(—)1.0/happyface.gif, andresources/soundbytes/midi/inthemood.midi). The resource bundles 306 cancontain localization information for each language supported by theapplication 105. These bundles can be located in a locale folder, forexample, and can be named according to the language supported (e.g.locale/lang_en.properties and locale/lang_fr.properties). An example ofthe elements 301 are given below.

It is recognised that the runtime environment RE of the device 100 isthe client-resident container within which the applications 105 areexecuted on the device 100. The container manages the application 105lifecycle on the device 100 (provisioning, execution, deletion, etc.)and is responsible for translating the metadata (XML) representing theapplication 105 into an efficient executable form on the device 100. Theapplication 105 metadata is the executable form of the XML definitions300, as described above, and is created and maintained by the runtimeenvironment RE. The RE can provide a set of common services to theapplication 105, as well as providing support for optional JavaScript™or other scripting languages. These services include support for such asbut not limited to UI control, data persistence and asynchronousclient-server messaging. It is recognised that these services could alsobe incorporated as part of the application 105, if desired.

Referring to FIG. 4, the component applications 105 are softwareapplications which can have artifacts 301 written, for example, ineXtensible Markup Language (XML) and a subset of ECMAScript. XML andECMAScript are standards-based languages which allow software developersto develop the component applications 105 in a portable andplatform-independent way. A block diagram of the component application105 comprises the data components 400, the presentation components 402and the message components 404, which are coordinated by workflowcomponents 406 through interaction with the client runtime environmentRE of the device 100 (see FIG. 1) once provisioned thereon. Thestructured definition language (e.g. XML) can be used to construct thecomponents 400, 402, 404 as a series of metadata records, which consistof a number of pre-defined elements representing specific attributes ofa resource such that each element can have one or more values. Eachmetadata schema typically has defined characteristics such as but notlimited to; a limited number of elements, a name of each element, and ameaning for each element. Example metadata schemas include such as butnot limited to Dublin Core (DC), Anglo-American Cataloging Rules(AACR2), Government Information Locator Service (GILS), Encoded ArchivesDescription (EAD), IMS Global Learning Consortium (IMS), and AustralianGovernment Locator Service (AGLS). Encoding syntax allows the metadataof the components 400, 402, 404 to be processed by the runtimeenvironment RE (see FIG. 1), and encoding schemes include schemes suchas but not limited to XML, HTML, XHTML, XSML, RDF, Machine ReadableCataloging (MARC), and Multipurpose Internet Mail Extensions (MIME). Theclient runtime environment RE of the device 100 operates on the metadatadescriptors of the components 400, 402, 404 to provision an executableversion of the application 105.

Referring again to FIG. 4, the data components 400 define data entitieswhich are used by the component application 105. Data components 400define what information is required to describe the data entities, andin what format the information is expressed. For example, the datacomponent 400 may define information such as but not limited to an orderwhich is comprised of a unique identifier for the order which isformatted as a number, a list of items which are formatted as strings,the time the order was created which has a date-time format, the statusof the order which is formatted as a string, and a user who placed theorder which is formatted according to the definition of another one ofthe data components 400.

Referring again to FIG. 4, the message components 404 define the formatof messages used by the component application 105 to communicate withexternal systems such as the web service. For example, one of themessage components 404 may describe information such as but not limitedto a message for placing an order which includes the unique identifierfor the order, the status of the order, and notes associated with theorder. It is recognised that data definition content of the componentscan be shared for data 400 and message 404 components that are linked orotherwise contain similar data definitions.

Referring again to FIG. 4, the presentation components 402 define theappearance and behavior of the component application 105 as it displayedby a user interface of the devices 100. The presentation components 402can specify GUI screens and controls, and actions to be executed whenthe user interacts with the component application 105 using the userinterface. For example, the presentation components 402 may definescreens, labels, edit boxes, buttons and menus, and actions to be takenwhen the user types in an edit box or pushes a button. It is recognisedthat data definition content of the components can be shared for data400 and presentation 402 components that are linked or otherwise containsimilar data definitions.

Referring to FIGS. 1 and 4, it is recognized that in the above describedclient component application 105 definitions hosting model, thepresentation components 402 may vary depending on the client platformand environment of the device 100. For example, in some cases WebService consumers do not require a visual presentation. The applicationdefinition of the components 400, 402, 404, 406 of the componentapplication 105 can be hosted in the Web Service repository 114 as apackage bundle of platform-neutral data 400, message 404, workflow 406component descriptors with a set of platform-specific presentationcomponent 402 descriptors for various predefined client runtimes RE.When the discovery or deployment request message for the application 105is issued, the client type would be specified as a part of this requestmessage. In order not to duplicate data, message, and workflow metadatawhile packaging component application 105 for different client platformsof the communication devices 100, application definitions can be hostedas a bundle of platform-neutral component definitions linked withdifferent sets of presentation components 402. For those Web Serviceconsumers, the client application 105 would contain selectedpresentation components 402 linked with the data 400 and message 404components through the workflow components 406.

Referring again to FIG. 4, the workflow components 406 of the componentapplication 105 define processing that occurs when an action is to beperformed, such as an action specified by a presentation component 402as described above, or an action to be performed when messages arrivefrom the application gateway AG (see FIG. 1). Presentation, workflow andmessage processing are defined by the workflow components 406. Theworkflow components 406 are written as a series of instructions in aprogramming language (e.g. object oriented programming language) and/ora scripting language, such as but not limited to ECMAScript, and can be(for example) compiled into native code and executed by the runtimeenvironment 206, as described above. An example of the workflowcomponents 406 may be to assign values to data, manipulate screens, orsend the message 105. As with presentation components, multiple workflowdefinitions can be created to support capabilities and features thatvary among devices 100. ECMA (European Computer ManufacturersAssociation) Script is a standard script language, wherein scripts canbe referred to as a sequence of instructions that is interpreted orcarried out by another program rather than by the computer processor.Some other example of script languages are Perl™, Rexx™, VBScript™,JavaScript™, and Tcl/Tk. The scripting languages, in general, areinstructional languages that are used to manipulate, customize, andautomate the facilities of an existing system, such as the devices 100.

Referring to FIG. 4, the application 105 is structured using componentarchitecture such that when the device 100 (see FIG. 1) receives aresponse message from the application gateway AG containing messagedata, the appropriate workflow component 406 interprets the data contentof the message according to the appropriate message component 404definitions. The workflow component 406 then processes the data contentand inserts the data into the corresponding data component 400 forsubsequent storage in the device 100. Further, if needed, the workflowcomponent 406 also inserts the data into the appropriate presentationcomponent 402 for subsequent display on the display of the device 100. Afurther example of the component architecture of the applications 105 isfor data input by a user of the device 100, such as pushing a button orselecting a menu item. The relevant workflow component 406 interpretsthe input data according to the appropriate presentation component 404and creates data entities which are defined by the appropriate datacomponents 400. The workflow component 406 then populates the datacomponents 400 with the input data provided by the user for subsequentstorage in the device 100. Further, the workflow component 406 alsoinserts the input data into the appropriate message component 404 forsubsequent sending of the input data as data entities to the data source106, web service for example, as defined by the message component 404.

The following example, referring to FIG. 4, shows how a Web Servicesclient application 105 could be expressed using a structured definitionlanguage, such as but not limited to XML, and a platform neutralscripting/programming language, such as but not limited to ECMAScript,with defined components conforming with the following Document TypeDefinition (DTD):

<!ELEMENT wcApp (desc?, iconUrl?, res*, wcData*, wcMsg*, style*, wcScr*,wcFlow)> <!ATTLIST wcApp   name CDATA #REQUIRED   title CDATA #IMPLIED  vendor CDATA #IMPLIED   version CDATA #IMPLIED   transportKey CDATA#IMPLIED   installNotifURL CDATA #IMPLIED   registerURL CDATA #IMPLIED ><!ELEMENT desc (#PCDATA)> <!ELEMENT iconUrl (#PCDATA)> <!ELEMENT res(#PCDATA)> <!ATTLIST res   name CDATA #REQUIRED   url CDATA #REQUIRED  type (xml | image | sound | any) #REQUIRED   deferred (true | false)“false” > Example Data Component 400 <!ELEMENT wcData (dfield+)><!ATTLIST wcData   name CDATA #REQUIRED   persisted (true | false)“true” > <!ELEMENT dfield (#PCDATA)> <!ATTLIST dfield   name CDATA#REQUIRED   type (String | Number | Boolean | Date | Any) “Any”   array(true | false) “false”   cmp (true | false) “false”   cmpName CDATA#IMPLIED   key (0 | 1 | 2) “0” > Example Message Component 404 <!ELEMENTwcMsg (mfield*)> <!ATTLIST wcMsg   name CDATA #REQUIRED   mapping CDATA#IMPLIED > <!ATTLIST wcMsg   pblock CDATA #IMPLIED > <!ELEMENT mfield(#PCDATA)> <!ATTLIST mfield   name CDATA #REQUIRED   type (String |Number | Boolean | Date | Array | XML) #IMPLIED   mapping CDATA #IMPLIED>

EXAMPLE PRESENTATION COMPONENTS 402

The example Presentation Components 402 has been submitting as a textfile entitled “11078430₁₃1.txt” in a computer program listing appendixon a compact disc. The information and/or data contained therein isincorporated by reference in its entirety.

Example Workflow Component 406 <!ELEMENT wcFlow (pblock+)> <!ELEMENTpblock (#PCDATA)> <!ATTLIST pblock    id CDATA #REQUIRED    param CDATA#IMPLIED >

The example component application program 105 displayed in FIG. 5 isrepresented in XML and mEScript as submitted as a text file entitled“11078430_(—)2.txt” in a computer program listing appendix on a compactdisc, including data components 400 as “wcData”, message components 404as “wcMsg”, presentation components 402 as “wcScr” and workflowcomponents 406 as “wcFlow” for processing the other components 400, 402,404. The information and/or data contained 11078430_(—)2.txt isincorporated by reference in its entirety.

As given above, the XML elements define the example componentapplication 105 including a wcApp element, a wcData element, a wcMsgelement, a wcSrc element, and a wcFlow element. Referring to FIG. 4, thewcApp element is a top-level element which defines the componentapplication 105. The wcData element defines the example data component400, which is comprised of a group of named, typed fields. The wcMsgelement defines the example message component 404, which similarlydefines a group of named, typed fields. The wcSrc element defines theexample presentation component 402. The example presentation component402 is a label, a separator, an image, a button, an edit field, a textarea, a single-selection list, a multi-selection list, a drop-list, acheckbox, a radio button, or a screen containing a group of otherpresentation components 402. The presentation components 402 included inthe example component application 105 define a login screen 500, aspecials screen 502, a delivery information screen 504, an order listscreen 508, and an order status screen 506. These screens would bepresented on the user interface of the device 100. The wcFlow elementdefines the example workflow components 406. The pblock attributes ofthe XML elements specify a pblock element nested in the wcFlow element.Each pblock element comprises script which defines part of the workflowof the component application 105. The script is written in ECMAScript byway of example only.

In order to define the behavior of the component application 105, theworkflow components 406 use ECMAScript to reference and manipulate thedata components 400, the presentation components 402, and the messagecomponents 404. Workflow components 406 can also reference externalobject types, which allow actions to be performed on the componentsdefined in the component application 105. For example, a wcMsg typeallows a message defined by a message component 404 to be evaluated todetermine whether mandatory fields have been supplied, and to be sent toan external system such as the web service 106. A wcData type allows thesize of collections of data entities defined by data components 400 tobe determined, and allows data entities to be deleted. A wcScr typeallows a presentation component 402 to be displayed to the user.Similarly, a special dialog external object allows a message to bedisplayed to the user on the user interface of the device 100. Themessage components 404 relay the required data for the input and outputof the messages of the application 105. The corresponding datacomponents 400 coordinate the storage of the data in memory of thedevice 100 for subsequent presentation on the user interface by thepresentation components 402. The workflow components 406 coordinate thetransfer of data between the data 400, presentation 402, and message 404components. The workflow components 406 are written as a series ofinstructions, such as but not limited to ECMAScript, which is describedabove.

The above described component based application 105 architecture canresult in component applications 105 in which the user-interface of thedevice 100 and the definition of the data are decoupled. This decouplingallows for modification of any component 400, 402, 404, 406 in thecomponent application 105 while facilitating insubstantial changes toother components 400, 402, 404, 406 in the application 105, and thus canfacilitate maintenance of the component applications 105, includingmodification and updating of the component applications 105 on thedevice 100.

Designer Tool 116 Architecture

FIG. 6 illustrates the overall designer tool 116 structure for designingcomponent applications 105. The designer tool 116 interface (UI 202 anddisplay 206—see FIG. 2) is primarily a user facing module 601 collectionof graphical and text editors 600, viewers 602, dialogs 605 and wizards604. The large majority of external interactions are accomplishedthrough one or more of these editors 600, with the developer/user, usinga system of drag and drop editing and wizard driven elaboration. Thesecondary and non-user facing system interface is that of the “Backend”,whereby the tool 116 connects to and digests datasource 106 servicessuch as Web Services and SQL Databases. As described above, the tool 116can be built on the Eclipse platform, whereby the user interface systemcomponents can be such as but not limited to components of editors 600,viewers 602, dialogs (not shown) and wizards 604, which are plug-inmodules 601 that extend Eclipse classes and utilize the Eclipseframework, for example. As shown, the tool 116 communicates with backenddata sources 106 and UDDI repositories 114 and registries 112. Theseexternal systems 106, 112, 114 may not be part of the tool 116 but areshown for completeness.

The tool 116 has a UI Layer 606 composed mainly of the editors 600 andviewers 602, which are assisted through the workflow wizards 605. Thelayer 606 has access to an extensive widget set and graphics libraryknown as the Standard Widget Toolkit (SWT), for Eclipse. The UI layer606 modules 601 can also make use of a higher-level toolkit called JFacethat contains standard viewer classes such as lists, trees and tablesand an action framework used to add commands to menus and toolbars. Thetool 116 can also use a Graphical Editing Framework (GEF) to implementdiagramming editors such as the Workflow Editor 702 and the RelationshipEditor 704 (see FIG. 7). The UI layer 606 modules 601 can follow theModel-View-Controller design pattern where each module 601 is both aview and a controller. Data models 608,610 represents the persistentstate of the application 105 and are implemented in the data model layer612 the tool 116 architecture. The separation of the layers 606, 612keeps presentation specific information in the various views andprovides for multiple UI modules 601 (e.g. editors 600 and viewers 602)to respond to data model 608,610 changes. Operation by the developer ofthe editors 600 and viewers 602 on the display 202 (see FIG. 2) isassisted by the wizards 604 for guiding the development of theapplication 105. The application development patterns or developmentguides 948 (see FIG. 13). The patterns fall into one of the followinggeneral categories, such as but not limited to: Recommendation patterns654; Development approach patterns 650; □Validation patterns 660;Messaging patterns 658; Screen patterns 656; and Script patterns 652 asfurther described below in relation to FIG. 13.

The tool 116 data models 608,610 can be based on the Eclipse ModelingFramework (EMF). EMF is a framework and code generation facility. Theframework provides model 608,610 change notification, persistencesupport and an efficient reflective API for manipulating EMF objectsgenerically. The code generation facility is used to generate the model608,610 implementation and create adapters to connect the model layer612 with the user interface modules 601 of the UI layer 606.

A tool 116 service layer 614 provides facilities for the UI layer 606such as validation 620, localization 624, generation 622, build 626 anddeployment 628, further described below. The tool 116 can make use ofthe Eclipse extension point mechanism to load additional plug-ins fortwo types of services: backend connectors 616 and device skin managers618 with associated presentation environments 630.

The backend connector 616 defines an Eclipse extension point to providefor the tool 116 to communicate with or otherwise obtain informationabout different backend data sources 106, in order to obtain the messageformat of the selected data source 106. The backend connector 616 can beused as an interface to connect to and to investigate backend datasource106 services such as Web Services and SQL Databases. The backendconnector 616 facilitates building a suitable application message anddata set to permit communication with these services from theapplication 105 when running on the device. The backend connector 616can support the access to multiple different types of data sources 106,such as but not limited to exposing respective direct communicationinterfaces through a communication connector based architecture. Atruntime the tool 116 reads the plug-in registry to add contributedbackend extensions to the set of backend connectors 616, such as but notlimited to connectors for Web Services.

The Backend Connector 616 can be responsible for such as but not limitedto: connecting to a selected one (or more) of the backend data sources106 (e.g. WebService, Database); providing an interface for accessingthe description of the backend data source 106 (e.g. messages,operations, datatypes); and/or providing for the identification ofNotification services (those which push notifications over the network10 to the device 100—see FIG. 1). The Backend Connector 616 can providean interface to the backend datasource 106 (e.g. a web service, SQLDatabase or other) for access of the data source description, and canprovide a level of abstraction between implementation specific detailsof the backend messaging and generic messaging descriptions 302maintained by the Design Time Data Model 608. For example, the BackendConnector 616 can be used to generate appropriate messaging 404 and data400 component sets for the application 105, and is used by the ModelValidator 620 as part of validation tasks to verify the sanity ofexisting message mapping 302 relationships in the application 105 underdevelopment. For example, the backend connector 616 can be implementedas an interface using an API call as the protocol to access theunderlying backend data source 106 (e.g. using a WSDL Interface forWebServices)

The device skin manager 618 defines an Eclipse extension point, forexample, to allow the tool 116 to emulate different devices 100 (seeFIG. 1), such that the look and feel of different target devices 100 (ofthe application 105) can be specified. At runtime the tool 116 reads theplug-in registry to add contributed skin extensions or presentationenvironments 630 to the set of device environments 630 coordinated bythe manager 618, such as but not limited to environments 630 for ageneric BlackBerry™ or other device 100. The Skin Manager 618 is used bythe Testing/Preview viewer 806 to load visual elements (as defined bythe screen component 402 of the data model 608,610) that lookappropriate for the device 100 that is being emulated, i.e. elementsthat are compatible with the specified environment 630. Different skinsor presentation environments/formats 630 are “pluggable” into themanager 618 of the tool 116, meaning that third parties can implementtheir own presentation environments 630 by creating new unique SkinIds(an Eclipse extension point), for example, and implementing anappropriate interface to create instances of the screen elementssupported by the runtime environment RE of the emulated device 100. Inorder to load a new presentation environment 630, the Testing/Previewviewer 806 first asks the Manager 618 for an instance of the specifiedenvironment 630. The Manager 618 then instantiates the environment 630and the Testing/Preview viewer 806 uses the specified environment 6320to construct the screen elements according to the screen components 402of the model 608,610. For example, the presentation environments 630(e.g. SkinPlugins) are identified to the SkinManager 618 through acustom Eclipse extension point using the Eclipse framework.

Referring to FIG. 6, the UI Layer 606 is comprised of the set of editors600, viewers 602, wizards 604 and dialogs 605. The UI Layer 606 uses theModel-View-Controller (MVC) pattern where each UI module 601 is both aView and a Controller. UI Layer modules 601 interact with the datamodels 608,610 with some related control logic as defined by the MVCpattern. The editors 600 are modules 601 that do not commit model608,610 changes until the user of the tool 116 chooses to “Save” them.An example of an editor 600 is the Script Editor 706 (see FIG. 7),further described below. Viewers 602 are modules 601 that commit theirchanges to the model 608,612 immediately when the user makes them. Anexample of a viewer 602 is the Navigator (Project View) 802 (see FIG.8). Wizards 604 are modules 601 that are step-driven by a series of oneor more dialogs 605, wherein each dialog 605 gathers certain informationfrom the user of the tool 116 via the user interface 202 (see FIG. 2).No changes are applied to the design time model 608 using the wizards604 until the user of the tool 116 selects a confirmation button like a“Finish”. It is recognised in the example plug-in design tool 116environment, modules 610 can extend two types of interfaces: Eclipseextension points and extension point interfaces. Extension pointsdeclare a unique package or plug-in already defined in the system as theentry point for functional extension, e.g. an editor 600, wizard 604 orproject. Extension point interfaces allow the tool 116 to define its ownplugin interfaces, e.g. for skins 618 and backend 616 connectors.

Referring again to FIG. 6, modules 601 (primarily Editors 600 andViewers 602) in the tool 116 are observers of the data models 608,610and are used to interact or otherwise test and modify the data models608,610 of the application (e.g. components 400, 402, 404, 406—see FIG.4) in question. When the data model 608,610 changes, the models 608,610are notified and respond by updating the presentation of the application105. The tool 116 uses the Eclipse Modeling Framework (EMF), forexample, to connect the Eclipse UI framework to the tool 116 data model608,610, whereby the modules 601 can use the standard Eclipse interfacesto provide the information to display and edit an object on the display206 (see FIG. 2). In general, the EMF framework implements thesestandard interfaces and adapt calls to these interfaces by calling ongenerated adapters that know how to access the data model 608,610residing in memory 210. The design time Data Model 608 is the currentversion of the application 105 in development and is accessed by theusers employing the modules 601 to interact with the associated data ofthe model 608. Modules 601 can also trigger validation actions on theDesign Time Data Model 608. Modules 601 can also cause some or all ofthe application 105 to be generated from the Design Time Data Model 608resident in memory 210. In general, the Design Time Data Model 608accepts a set of commands via the UI 202 (see FIG. 2) that affect thestate of the model 608, and in response may generate a set of events.Each module 601 (editor 600 and viewer 602) described includes the setof commands and the events that affect the module 601 and data model 608pairing.

Referring to FIGS. 6 and 8, the Runtime Data Model 610 represents thestate of an emulated application 105 under development by the tool 116,using as a basis the contents of the design time data model 608. Theruntime data model 610 stores values for the following major items, suchas but not limited to: □Data Components 400 (see FIG. 4); □GlobalVariables; Message Components 404; □Resources 304,306 (see FIG. 3);□Screen Components 402 and □Styles. The Runtime Data Model 610collaborates with the Design Time Data Model 608 and a Testing/Previewviewer 806 during emulation of application 105 for testing and previewpurposes (for example). The viewer 806 also collaborates with the skinmanager 616 for emulating the runtime data model 610 for a specifieddevice 100 type. The Runtime Data Model 610 also notifies, through abridge 613, the viewer 806 as well as any other modules 600 of the UIlayer 606 associated with changes made to the model 610. For example, anAPI call can be used as a notifier for the associated modules 601 whenthe state of the model 610 has changed.

Referring to FIGS. 6 and 4, the Design Time Data Model 608 representsthe state of an application 105 development project and interacts withthe modules 601 of the UI layer 606 by notifying modules 601 when thestate of the model 608 has changed as well as saving and loading objectsfrom storage 210. The model's 608 primary responsibility is to definethe applications 105 including such as but not limited to the followingitems: Data Component 400 Definitions; Global Variable Definitions;Message Component 404 Definitions; Resource 304,306 Definitions; ScreenComponent 402 Definitions; Scripts 406; Style Definitions and Backenddata source 106 Mapping 302 Descriptors. The Design Time Data Model 608responds to commands of each editor 600, viewer 602. The Design TimeData Model 608 also fires events to modules 601 in response to changesin the model 608, as well as collaborating/communicating with the othermodules 601 (module 601-module 601 interaction) by notifying respectivemodules 601 when the data model 608 has changed. The data model 608depends on an interface in order to serialize model 608 contentretrieval and storage to and from the memory 210.

The following describes the mechanism used by the tool 116 editors 600and viewers 602 to interact with the data model 608. The EMF.Editframework is an optional framework provided by the Eclipse framework.The tool 116 can use the EMF.Edit framework and generated code (forexample) as a bridge or coupling 613 between the Eclipse UI frameworkand the tool data model 608. Following the Model-View-Controllerpattern, the editors 600 and viewers 602 do not know about the model 608directly but rely on interfaces to provide the information needed todisplay and edit the data in the model 608.

In general, for example a tree viewer uses a TreeContentProvider andLabelProvider interface to query the structure of the tree and get textand icons for each node in the tree respectively. Table viewers and listviewers work in a similar way but use the structured ContentProvider andLabelProvider interfaces. Each class in the data model 608 is a changenotifier, that is, anytime an attribute or reference is changed an eventis fired. In EMF, for example, a notification observer is called anadapter because not only does it observe state changes but it can extendthe behaviour of the class it is attached to (without subclassing) bysupporting additional interfaces. An adapter is attached to a modelobject by an adapter factory. An adapter factory is asked to adapt anobject with an extension of a particular type. The adapter factory isresponsible for creating the adapter or returning an existing one, themodel object does not know about adapting itself. The tool 116 uses EMFto generate a set of adapters for the data model 608 called itemproviders. Each item provider is an adapter that implements providerinterfaces to extend the behaviour of the model object so it can beviewed and edited and at the same time is a notification observer thatcan pass on state changes to listening views. The tool 116 connects theeditors 600 and viewers 602 to the data model 608 by configuring theeditors 600 and viewers 602 with one or more EMF.Edit classes, forexample. Each EMF.Edit class supports an Eclipse UI provider interface.The EMF.Edit class implements an interface call by delegating to anadapter factory. The adapter factory then returns a generated adapter(an item provider) that knows how to access the data model 608. When thestate of the model 608 changes the same adapters are used to update theviewers 602 and editors 600.

The following commands are example commands that can affect otherrelated modules 601 of the UI layer 606: ComponentAdded—a component(i.e. Screen, Data etc.) has been added to the application 105;ComponentRemoved—a component has been removed from the application 105;ComponentRenamed—a component has been renamed;NavigationControlChanged—a button or menu item has been added, removedor had its properties changed on a screen (e.g. component 402) of theapplication 105; DataBindingChanged—a data-bound control (of a message404, data 400 and/or presentation 402 component) has been added, removedor had its properties changed on a screen; ScreenParameterListChanged—aparameter has been added or removed from one of the screen components402; FieldMappingChanged—a message level, field level or prototypemapping has changed; MessageContainmentChanged—a containmentrelationship has changed; MessageFieldChanged—a message field has beenadded, removed or had its properties changed for a message 404 and/or ascreen 402 component; DataFieldChanged—a data field has been added,removed or had its properties changed from a message 404, data 400and/or presentation 402 component; NavigationChanged—a script that maycontain navigation code has changed of a workflow component 406;LocalizedStringChanged—a literal string has been added, removed orchanged and ExitCodeChanged—Exit code has been added or removed from ascript of the workflow component 406.

The model validation 620 of the service layer 614 provides facilitiesfor the UI layer 606 such as validating the design time data model 608.The ModelValidator 620 is used to check that the Design Time Data Model608 representation of application 105 messages is in line with thebackend data source 106 presentation of messaging operations. The ModelValidator 620 can be responsible to validate the model 608representation of the application 105 to be generated, for example suchas but not limited to elements of: workflow sanity of the workflowcomponent 406; consistency of parameters and field level mappings of thecomponents 400, 402, 404, 406; screen control mappings and screenrefresh messages of the screen components 402; message and/or dataduplications inter and intra component 400,402,404,406. Another functionof the validation 620 can be to validate the model's 608 representationof backend data source 106 messaging relationships. In order to achieveits responsibilities, the validator collaborates with the Design TimeData Model 608, an application generator 622 and the backend connector616. Requests to the Model Validator 620 to validate the model 608 (or aportion of the model 608—on demand) are made through the applicationgenerator 622, using the tool user interface 202 for example, via aValidate Model interface (not shown) connecting the generator 622 to thevalidator 620. The Model Validator 620 in turn utilizes as part of thevalidation task the Design Time Data Model 608, which contains both theapplication 105 and mapping file meta model information, as well as thebackend connector 616, which supports the interface to the backend datasources 106.

Referring to FIGS. 6 and 9, a model 608 validation sequence 900 isshown. First the validator 620 is requested 901 to validate the model608. The validator obtains 902 all components 400,402,404,406 from thedata model 608 and in turn validates 903 the contents of each component400,402,404,406. The validator 620 then gets 904 the backend mappings302 from the data model 608 and then obtains 905 mapping information ofthe backend data sources 106. A comparison is then made 906 in order tovalidate 907 the model 608.

Referring again to FIG. 6, the localization Service 624 hasresponsibilities such as but not limited to: supporting a build timelocalization of user visible strings; supporting additional localizationsettings (e.g. default time & date display format, default numberdisplay format, display currency format, etc); and creating the resourcebundle files 306 (and resources 304) that can be used during preparationof the deployable application 105 (e.g. an application jar file) by aBuildService 626. For example, the localization service 624 can beimplemented as a resource module for collecting resources 304,306 thatare resident in the design time data model 608 for inclusion in thedeployable application 105. The JAR file can be a file that contains theclass, image, and sound files for the application gathered into a singlefile and compressed for efficient downloading to the device 100. TheLocalization Service 624 is used by the application Generator 622 toproduce the language specific resource bundles 306, for example. TheBuildService 626 implements preparation of the resource bundles 306 andpackaging the resource bundles 306 with the deployable application 105.The Localization Service 624 interacts (provides an interface) with thetool editors 600 and viewers 602 for setting or otherwise manipulatinglanguage strings and locale settings of the application 105.

Referring to FIG. 6, the application Generator 622 can be responsiblefor, such as but not limited to: generation of the application XML fromthe components 400,402,404; generation of mapping 302 descriptors;optimizing field ordering of the component 400,402,404 descriptors; andgeneration of dependencies and script transformation as desired forstorage in the memory 210. The application Generator 622 collaborateswith the Design Time Data Model 608 to obtain the content of thedeveloped components 400, 402,404 comprising the application 105. Theapplication Generator 622 utilizes the Model Validator 620 to check thatboth the application 105 definitions (of the components 400,402,404,406)and mapping 302 description information are correct. The applicationGenerator 620 then produces the XML code, with inclusions and/oraugmentations of the script of the workflow components 406, and mapping302 file descriptor from relationships held in the Design Time DataModel 608. The application Generator 622 uses the Localization Service624 to produce the language resource bundles 306, through for example aResource Bundles interface (not shown). The application Generator 622generation process is kicked off through a Generate applicationinterface accessed by the developer using the UI 202 of the tool 116(i.e. by user input events such as mouse clicks and/or key presses). Itis recognised that the generator 622 can be configured as a collectionof modules, such as but not limited to a code module for generating theXML 301 (which may include associated script) and a mappings module forgenerating the mapping 302 descriptors.

Referring to FIGS. 6 and 10, a sequence 1000 of generating theapplication artifacts 301 for the application 105, including thegeneration of mapping 302 files is shown. At step 1001 validate model608 is performed by the validator 620. At step 1002 the applicationlanguage descriptors (e.g. XML) 300 (which may include associatedscript) are generated by the generator 622 by getting 1003 thecomponents 400,402,404,406 from the model 608 and generating 1004 thecorresponding XML 300. At step 1005 the backend mapping 302 filedescriptors are generated by the generator 622 by obtaining 1006 themappings from the data model 608 and then generating 1007 the backendmapping descriptors. At step 1008 the resource bundles 306 (andresources 304) are prepared by the localization service 624 to add tothe application 105, as described above with reference to FIG. 3. Thegenerated artifacts 310 of the application 105 are stored in the memory210.

Referring again to FIGS. 2 and 6, the tool 116 can be a utility thatruns on a single desktop computer 201. The tool 116 provides the maindeveloper capability, which encapsulates the development, preview,validation and generation functions for application 105 development.However, it is recognised that a Build service 626 and/or a securityservice 632 can be packaged as a separate entity to permit the“home-grown” developer to create applications manually, separate fromthe other application development of the tool 116, and still utilize thepreparation and security aspects of the deployable application 105package (e.g. jar). It is also recognised that a Deployment service 628can also be packaged separately to permit the “home-grown” developer togenerate and deploy the appropriate application descriptor file.Accordingly, the tool 116 can make use of external build 626 anddeployment 628 service utilities, internal build 626 and deployment 628services (as shown in FIG. 6), or other configurations thereof asevident to a person skilled in the art.

Referring to FIGS. 3 and 6, the Build Service 626 provides an interfacefor building deployable form of the application 105 and is responsiblefor, such as but not limited to: generating a manifest file andgenerating the deployable application 105 jar file. The Build Service626 uses available application XML 300 (which may include associatedscript), mapping descriptor files 302 and resource bundles 306 (andresources 304) as described above. The availability of these application105 elements may be done either through the tool 116 applicationGenerator 622, or manually in the case of the homegrown developmentapproach using an external Build Service 626. The Security Service 632is used to sign the manifest that contains unique information about theapplication 105. Finally, the Build Service 626 produces the deployableapplication 105 jar unit, including all artifacts and the signedmanifest file. As noted above, the Build Service 626 can be packaged asa separate utility to the tool 116 and used by the tool 116 forpackaging of the deployable application jar file.

Referring to FIGS. 6 and 11, the sequence 1100 of running the buildservice 626 to generate a deployable application 105 (e.g. as anapplication jar file) is shown. At step 1101 the developer initiates thebuild service 626 as either an internal (to the tool 116) or external asa separate utility once the application elements/artifacts 301 (see FIG.3) have been generated by the application generator 622. At step 1102the service 626 retrieves the available mapping 302 file descriptor andat step 1103 retrieves the available application XML 300 (which mayinclude associated script). At step 1104 the service 626 retrieves theresources 304,306 and then generates 1105 the manifest file. At step1106 the manifest is signed and then the application jar file isgenerated 1107. The deployable application 105 is then made available(e.g. stored in the memory 210) for eventual deployment by thedeployment service 628.

Referring to FIG. 6, the Security Service 532 is employed to sign themanifest jar with a digest produced over the jar file contents and canhave two main responsibilities, for example. First and foremost, theSecurity Service can be used to generate an IDE (integrated designenvironment) Tag that can be included in every application 105 jar file.Secondly, the Security Service 632 can provide a means to initialize asecurity infrastructure of the tool 116. The Build Service 626 interactswith the Security Service 632 at build time to produce the IDE Tag thatcan be part of every deployable application 105 jar manifest. TheSecurity Service 632 can also interact with a build configurationelement (not shown—potentially external to the service 632) forpermitting configuration of the security service, such as but notlimited to; initial setup of the signed certificate; for generation ofnew keys, generation of a key request, and installation of a signedcertificate as is known in the art.

Referring again to FIG. 6, the Deployment Service 628 connects to theUDDI repository 114 to install/publish the generated applicationdescriptor file, and can be responsible for generating the deploymentdescriptor of the application 105. The Deployment Service 628 uses theavailable application 105 jar file at deployment time. Although theDeployment Service 628 does not install the application 105 jar file,the service 628 introspects the jar file to determine what languages aresupported (e.g. represented in the resource bundles 306). Thisinformation can be added to the descriptor file.

Referring to FIGS. 6 and 12, a sequence 1200 of deploying theapplication 105 to the UDDI (for example) repositories 114 is shown. Atstep 1201 the developer initiates the deployment service 628 as eitheran internal (to the tool 116) or external as a separate utility. At step1202 the service 628 retrieves the available application jar. At step1203 the service 628 generates the deployment descriptor of theapplication 105 and at step 1204 proceeds to publish the deploymentdescriptor through a discovery service 634 of the repository 114.

Referring to FIG. 7, the distribution of editors 600 in to Eclipseplug-ins (by way of example only) is shown. Tool editors 600 fallbroadly into two categories, such as but not limited to the categoriesof: Text Editors 700 implement standard line based editing functionalityand Graphical Editing Framework (GEF) Editors 701 that provide an editspace in which to draw objects. A GEF Editor 701 in the context of thetool 116 can contain a palette and a canvas, as is known in the art. Theuser can drop nodes (entities) from the palette onto the canvas and addconnections (relationships) between them, so as to for example definethe content and inter-relationships of the XML coding of the components400, 402, 404, 406 (see FIG. 4). It is recognised that the editors 600and viewers 602 are used to create and modify definitions contained inthe components 400,402,404,406 s well as to create and modify theinterdependencies of the definitions between the components (e.g.data-data, data-screen, message-data, screen-data, data-message) asfurther discussed below. It is recognised that the viewers 602 andeditors 600 can be any combination of text based and/or graphical basedmodules 601, as desired.

Editors 600

For Editor 600 and Data Model 608 decoupling, the editor 600 does notknow about the data model 608 directly. The editor 600 relies on a UIprovider interface (of Eclipse) to get the information needed to renderthe object under edit. The editor 600 can be configured with an EMF coreobject, for example when using the Eclipse platform) that implements aUI provider interface. e.g. ContentProvider, LabelProvider. The EMFprovider object adapts UI calls by delegating to a generated adapter(ItemProvider) that knows how to access the data model 608.

In general, the editor 600 creates a command to change the model 608 sothat the change can be undone through an undo API (not shown). Thesechanges can be assisted by an appropriate wizard 604 for the developmenttask at hand. The editor 600 can be configured with an EMF core objectcalled an editing domain that maintains a command stack. The editingdomain uses the adapter factory to find an adapter that can create thecommand. The generated adapter class (an ItemProvider) creates thecommand. The editor 600 executes the command by using the command stack.Further, using the Eclipse framework as an example, EMF models 608 arechange notifiers. Because the ItemProvider is a notification observer itis notified when the data model 608 changes. The ItemProvider in turnnotifies the Provider. The Provider tells the Editor 600 andPropertySheet to refresh after a change notification.

Script Editor 706

The script editor is a constrained text editor for writing the commands(e.g. JavaScript™) of the application 105 components, such as but notlimited to the workflow component 406—see FIG. 4. Some syntax such ascreating functions can be restricted where it is not user-definable inthe component application 105. Example commands editable by the scripteditor 706 can include commands such as but not limited to SaveScriptwhich is used when the user saves a script of the application 105.SaveScript can trigger the data model 608 commands of NavigationChanged,LocalizedStringChanged and ExitCodeChanged, if successful. Example inputevents of the script editor 706 can include events such as but notlimited to: ComponentRemoved whereby if the component (400, 402, 404,406) removed affects input parameters to the script or globals used bythe script, the script editor 706 prompts the user of the tool 116 thatthe modified script is invalid; and ComponentRenamed which has the sameinterest as ComponentRemoved. An example interface of the script editor706 extends the org.eclipse.ui.editors extension point of the Eclipseframework by implementing a subclass of theorg.eclipse.ui.editors.texteditors hierarchy. The tool 116 coordinatedthe creation and/or modification of scripts in the (e.g. workflow 406)components as well as the inter-relation of the created/modified scriptaffecting other associated components of the application 105.

Screen Editor 708

The screen editor 708 is responsible for facilitating the user of thetool 116 to define and laying out the structured definition languagecode (e.g. XML) in the screen components 402 of the application 105associated with display of data on the device 100. The interaction ofthe Developer with the editor 708 can be assisted or otherwise driven bythe screen patterns 656 (see FIG. 13), which can include patterns 656such as but not limited to slide show 656 a, form 656 b, access devicedata 656 c, conditional screen controls 656 d and data sheet 656 e, asfurther described below. UI controls for inclusion in the screencomponents 402 can be dropped onto a form canvas (not shown) in theeditor section 232 of the display (see FIG. 206). Control propertiesincluding event handlers can also be edited by the screen editor 708.

Example commands editable by the screen editor 708 can include commandssuch as but not limited to: ButtonChange which is sent (to the datamodel 608) when the developer changes a button control, this commandtriggers NavigationControlChange of the data model 608 if successful;MenuItemChange which is sent when the developer changes a menu item,this command triggers NavigationControlChanged of the data model 608 ifsuccessful; ChangeScript which is sent when the developer changes ascript, this command triggers NavigationControlChanged of the data model608 if successful; QueryMessages which is sent when the developer needsa list of available messages that screen of the application 105 may sendor refresh on, and returns a list of available messages; QueryData whichis sent when the developer needs a list of available data objects tobind controls to, and returns a list of available data;NonNavigationControlChange which is sent when a control that does notaffect navigation (e.g. label, text field) has been modified; andDataBindingChange which is sent when a databinding has changed, thiscommand triggers DataBindingChanged and ScreenParameterListChanged ofthe data model 608 if successful. Example input events of the screeneditor 708 can include events such as but not limited to:ComponentRemoved whereby the screen developer (user of the tool 116)checks to see if the component is a message the associated screencomponent 402 is using for navigation, a Data object that the screencomponent 402 has controls bound to or a script (e.g. workflow component406) that handles a screen event of the screen component 402;ComponentRenamed has the same interest as ComponentRemoved;ScreenParameterListChanged modifies the screen component 402 such as ifa parameter that was in use has been changed, the screen component 402must either adjust that parameter or warn the developer that thosedependencies are no longer valid and must be changed;MessageFieldChanged whereby the Screen developer checks to see if thefield in question is in use by the screen component 402; andDataFieldChanged whereby the Screen developer checks to see if anycontrols were bound to the field(s) that have changed and warns thedeveloper appropriately.

An example interface of the screen editor 708 extendsorg.eclipse.ui.editors of the Eclipse framework using the GEFGraphicalEditor and/or a VE editor. The tool 116 coordinates thecreation and/or modification of screen definitions in the (e.g. screen402) components as well as the inter-relation of the created/modifiedscreen definitions (and associated data definitions) affecting otherassociated components of the application 105.

Data Editor 710

The data editor 710 is responsible for facilitating the user of the tool116 to create and modify the structured definition language code (e.g.XML) in the data components 400 (and possibly screen 402 and message 404components) of the application 105 by providing the developer theability to edit a Data Component 400 fields and properties. Theinteraction of the Developer with the editor 710 can be assisted orotherwise driven in connection with patterns 684 (see FIG. 13) thatinclude a data component 400 aspect, as further described below. NewData objects can be created from scratch, by prototyping existing Dataobjects or based on data definition mappings to Message objects inmessage components 404.

Example commands editable by the data editor 710 can include commandssuch as but not limited to: AddRemoveFields which is sent when thedeveloper adds or removes a field from a Data object definition, thiscommand triggers DataFieldChanged of the data model 608 if successful;LinkToExternalData which is sent when the developer links a data objectdefinition to an external (to the application 105) Data object, such asbut not limited to a Calendar or Contacts data object, this commandtriggers DataFieldChanged of the data model 608 if successful.

Example input events of the data editor 710 can include events such asbut not limited to: ComponentRemoved whereby the screen developer (userof the tool 116) checks to see if the object that was removed wasrelated to the message through prototyping or containment, then thedeveloper can adjust the fields contained in the Data object affected;and ComponentRenamed has the same interest as in ComponentRemoved.

An example interface of the screen editor 708 extendsorg.eclipse.ui.editors using the GEF GraphicalEditor. The tool 116coordinates the creation and/or modification of data definitions in the(e.g. data 400) components as well as the inter-relation of thecreated/modified data definitions (and associated screen/messagedefinitions) affecting other associated components of the application105.

Message Editor 712

The message editor 712 is responsible for facilitating the user of thetool 116 to create and modify the structured definition language code(e.g. XML) in the message components 404 of the application 105. Theinteraction of the Developer with the editor 712 can be assisted orotherwise driven by the screen patterns 658 (see FIG. 13), which caninclude patterns 658 such as but not limited to message content target658 a and notification builder 658 b, as further described below. Themessage designer provides for the developer to create and edit componentmessages that are sent to and arrive from the backend data sources 106(in relation to the device 100). These messages can include bothrequest/response pairs as well as subscribe/notify/unsubscribenotification messages. Message definitions can be created by prototypingexisting messages or by templating based on back-end services of thedata sources 106 such as WSDL and JDBC/SQL.

Example commands editable by the message editor 712 can include commandssuch as but not limited to: AddRemoveFields which is sent when thedeveloper adds or removes field from a message in a message component404. Example input events of the message editor 712 can include eventssuch as but not limited to: ComponentRemoved whereby the screendeveloper (user of the tool 116) checks to see if a message that thismessage definition prototypes or contains has been removed, then theview must be updated; ComponentRenamed has the same interest asComponentRemoved; and FieldMappingChanged whereby the screen developer(user of the tool 116) checks to see if the field mapping effects themessage definitions being edited, then the Message developer checks tosee if any message fields have been added/removed/renamed by the changein the mapping.

An example interface of the screen editor 708 extendsorg.eclipse.ui.editors using the GEF GraphicalEditor. The tool 116coordinates the creation and/or modification of message definitions inthe (e.g. message 404) components as well as the inter-relation of thecreated/modified message affecting other associated components of theapplication 105.

Workflow Editor 702

The workflow editor 702 is responsible for facilitating the user of thetool 116 to create and modify the command code (e.g. ECMA Script) in theworkflow components 406 of the application 105. The interaction of theDeveloper with the editor 702 can be assisted or otherwise driven by thepatterns 648 (see FIG. 13) that are associated with application workflowconfiguration, as further described below. The workflow editor 702defines the screen-to-screen transitions that form the core of thevisual part of the component application 105. Screens and transitionsbetween screens due to user/script events are rendered visually.

Example commands editable by the workflow editor 702 can includecommands such as but not limited to: QueryScreens which is sent when thedeveloper wants a list of screens to select from, such as when adding anew screen to the workflow; QueryScripts which is sent when thedeveloper wants a list of scripts to call on a screen navigation event;QueryArrivingMessages which is sent when the developer wants a list ofresponse messages (including notifications) on which to key screentransitions; AddComponent which is sent when the developer wants to adda new screen, message or script to the workflow that doesn't alreadyexist in the workflow, this command triggers ComponentAdded of the datamodel 608 if successful; and ChangeNavigation which is sent when thedeveloper adds a new navigation to the workflow, this command triggersNavigationChanged of the data model 608 if successful.

Example input events of the workflow editor 702 can include events suchas but not limited to: ComponentRemoved whereby the workflow developer(user of the tool 116) checks to see if the component is a workflowobject (Screen, Script, Arriving Message), then the Workflow updatesitself by deleting all relationships with this object definition;ComponentRenamed whereby the workflow developer (user of the tool 116)checks to see if the component is a workflow object, then the workflowupdates its visual with the new name of the component;NavigationControlChanged whereby the workflow developer (user of thetool 116) checks to see if the workflow must update its view of thenavigation based on the control change, if for example a button has beenadded to a screen in the workflow, then the view is updated to show theavailability of a new navigation node on that screen;ScreenParameterListChanged whereby the workflow developer (user of thetool 116) checks to see if a screen's parameter list has changed andthat screen is in the workflow, then the developer updates the view ofany navigation involving that screen; NavigationChanged whereby theworkflow developer (user of the tool 116) checks to see if a possiblenavigation change has occurred, the developer finds and parses thechange and makes any necessary updates to the view; and ExitCodeChangedwhereby the workflow developer (user of the tool 116) checks to see ifan exit point has been added/removed, then editor view is updated toreflect this visually. An example interface of the screen editor 708extends org.eclipse.ui.editors using the GEF GraphicalEditor.

Message-Data Relationship Editor 704

The message editor 704 is responsible for facilitating the user of thetool 116 to create and modify the structured definition language code(e.g. XML) in the inter-related message 404 and data 400 components ofthe application 105. The interaction of the Developer with the editor704 can be assisted or otherwise driven by the patterns 648 (see FIG.13) that are associated with message-data relationship configuration, asfurther described below. The message/data relationship editor 704creates and edits relationships between Message Components 404 and DataComponents 400. These mappings effect how a Data Component 400 ispopulated on Message arrival to the device 100 when running theapplication 105. For example, data object definitions common betweendata 400 and message 404 components can be such that the data objectdefinitions can be resident in the data component 400, while a only datamapping definition (stating where the data object definition(s) can befound) linking the message component 404 to the data object definitionin the data component 400 can be resident in the message component 404,or vice versa. A similar configuration can be employed for data objectdefinitions common between screen 402 and data 400 components, wherebythe data object definition is resident in one of the components and thedata mapping definition is resident in the other associated component,as further described below in relation to the screen-data relationshipviewer 804 (see FIG. 8).

Example commands editable by the editor 704 can include commands such asbut not limited to: AddComponent which is sent when the user adds a newData or Message to the relationship diagram with the effect of alsoadding that component to the application 105 being developed, thiscommand triggers ComponentAdded of the data model 608 if successful;QueryMessages which is sent when the developer needs a list of Messagesto map; QueryData which is sent when the developer needs a list of Datato map; ChangeMessageLevelMapping which is sent when the developerchanges a message level mapping, this command triggersFieldMappingChanged of the data model 608 if successful;ChangeFieldLevelMapping which is sent when the developer changes a fieldlevel mapping, this command triggers FieldMappingChanged of the datamodel 608 if successful; ChangePrototype which is sent when thedeveloper changes (adds/removes) a prototype relationship between Dataobjects, this command triggers FieldMappingChanged of the data model 608if successful; and ChangeContainment which is sent when the developerchanges a containment relationship between Data objects, this commandtriggers MessageContainmentChanged of the data model 608 if successful.

Example input events of the editor 704 can include events such as butnot limited to: ComponentRemoved whereby the developer (user of the tool116) checks to see if the object removed was a Message or Data, therelationship mapper deletes any relationships involving the removedobject; ComponentRenamed whereby the developer (user of the tool 116)checks to see if the renamed object is involved in any mappingrelationships, the visual representation of the mapped object is updatedwith the new name; MessageFieldChanged whereby the developer (user ofthe tool 116) checks to see if the message concerned is present in therelationship editor, then field change is reflected in the visualrepresentation of the message, if the field in question is involved in amapping, then changes are reflected and the developer may need to bewarned of broken mappings (if for example, a field has been removed);and DataFieldChanged has the same interest as MessageFieldChanged exceptwith Data instead of Messages.

An example interface of the editor 704 extends org.eclipse.ui.editorsusing the GEF GraphicalEditor. The tool 116 coordinates the creationand/or modification of message/data definitions in the (e.g.message/data 404/400) components as well as the inter-relation of thecreated/modified message/data definitions affecting other associatedcomponents of the application 105.

Localization Editor 714

The localization editor 714 provides for the developer to collect allstrings that will be visible to the application 105 end-user (of thedevice 100) and edit them in one place. The editor 714 also provides forthe developer to create multiple resource mappings for each string intodifferent languages. Example commands editable by the editor 714 caninclude a command such as but not limited to: ChangeLocalizeString whichis sent when the developer adds, deletes or modifies a localized string.An example input event of the editor 714 can include an event such asbut not limited to: LocalizedStringChanged which is used to determinewhen a string literal has been changed in the script editor or a labelhas changed in the screen editor 708. The Localization Editor 714 canextend the org.eclipse.ui.editors interface by extending an EditorPart.

Backend Visualizer Editor 716

The backend visualizer 716 shows the developer the relationships betweenMessage Components 404 and the backend data sources 106 (web services,SQL etc.—see FIG. 1) that drive the components 404. The interaction ofthe Developer with the editor 716 can be assisted or otherwise driven bythe patterns 648 (see FIG. 13) that are associated with message and/ordata relationship configuration between the device runtime RE (seeFIG. 1) and the backend data sources 106, as further described below.The editor 716 also provides for the developer to add new sources 106 tothe list of those supported by the application 105 in development. Inaddition to interaction with the design time data model 608, as isdescribed for other modules 601 using commands and events received, theBackend Visualizer editor 716 collaborates with the Backend Connector616 (see FIG. 6). The Backend Connector 616 provides for the visualizerto request a ServicesInterface from a registry of known service types(e.g. Web Services, SQL Databases). A list of Services of this type isreturned that can queried by name or by iteration.

Example commands editable by the editor 716 can include commands such asbut not limited to: AddComponent which is sent when the developer adds anew message, this command triggers ComponentAdded of the data model 608if successful; and SpecifyMapping which is sent when the developerconnects a message to a selected backend data source 106. Example inputevents of the editor 716 can include events such as but not limited to:ComponentRemoved whereby the developer (user of the tool 116) checks tosee if the component is a message, the backend visualizer adjusts itsmappings for that message; ComponentRenamed has the same interest asComponentRemoved; and MessageFieldChanged whereby the developer (user ofthe tool 116) validates the message field against what exists on thebackend and visually notifies of any broken mappings. Backend datasources 106 are accessed through direct calls to the service layers.Optionally, background processing may be used to keep network processingfrom blocking UI threads. The Editor 716 can extend theorg.eclipse.ui.editors using the GEF GraphicalEditor.

Viewers 602

Referring to FIGS. 6 and 8, viewers 602 are modules 601 that committheir changes to the data model 608 as soon as the developer makes them.Referring to FIG. 8, the distribution of viewers 602 in to Eclipseplug-ins (by way of example only) is shown. Tool viewers 602 fallbroadly into two categories, such as but not limited to the categoriesof: Resource viewers 810 and Graphical Editing Framework (GEF) viewers808, which provide an edit space in which to view objects. The user canview nodes (entities) and connections (relationships) between them, soas to for example define the content and inter-relationships of the XMLcoding of the components 400, 402, 404, 406 (see FIG. 4). It isrecognised that the viewers 602 are used to create and modifydefinitions contained in the components 400,402,404,406 s well as tocreate and modify the interdependencies of the definitions between thecomponents (e.g. data-data, data-screen, message-data, screen-data,data-message) as further discussed below. The Eclipse viewers aremodules 601 that commit changes to the data model 608 as soon as theuser makes one. The Viewers 602 include: the Navigator 802 which shows ahierarchical view of the application 105 projects in the workspace ofthe display 206 (see FIG. 2) realized by a tree view (for example); aTesting/Preview viewer 806 that emulates the runtime behaviour of theapplication 105 and the Screen-Data Relationship viewer 804 that can bea read-only view of the relationships between a screen 402 and the data400 components that are bound to the respective screens. Each viewer 602can create an extension point at org.eclipse.ui.views and can implementthe IViewPart interface of the Eclipse platform, usually through aselected default super-class.

Navigator Viewer 802

The Navigator 802 provides the developer with a hierarchical tree view(for example) of all the project applications 105, folders and files inthe workspace of the display 206. The developer can browse andmanipulate the objects definitions associated with the selectedapplication 105 project from the Navigator 802.

Example commands by the viewer 802 can include commands such as but notlimited to: AddComponent which is sent when a new component is added tothe application 105 project through a New menu on a navigator contextmenu (not shown), this command triggers ComponentAdded of the data model608 if successful; RemoveComponent which is sent when a component isremoved by deleting it from the navigator context menu, this commandtriggers ComponentRemoved of the data model 608 if successful andRenameComponent which is sent when a component is renamed by selectingit in the navigator, this command triggers ComponentRenamed of the datamodel 608 if successful.

Example input events of the viewer 802 can include events such as butnot limited to: ComponentAdded for when a component is added, thenavigator 802 refreshes its view of the project application 105 andComponentRemoved has the same interest as ComponentAdded. Exampleinterfaces for the navigator viewer 802 is such that the viewer 802extends the org.eclipse.ui.views extension by sub-classingorg.eclipse.ui.views.navigator.ResourceNavigator, by example for theEclipse framework.

Screen Data Relationship Viewer 804

The Screen/Data viewer 804 provides for the developer to view therelationships between a given screen definition and the Data definitionthat is bound to it. The interface can be read-only and is constructedfrom design time data contributed by the associated Screen 404 and Data400 components. For a read only viewer 804, the viewer 804 does not haveany commands that affect the data model 608. Example input events of theviewer 804 can include events such as but not limited to:ComponentRemoved whereby the developer (user of the tool 116) checks tosee if the component removed is a Screen 402 or Data 400 component, thedeveloper removes any relationships with the removed component;DataBindingChanged whereby the developer (user of the tool 116) checksto see if the component is a Screen 402 or a Data 400 component and iscurrently open in the viewer 804, then the name of the component isupdated and ComponentRenamed whereby the developer (user of the tool116) checks to see if the DataBinding involves a Screen 402 and/or Data400 components that are currently open, then any new relationships aredepicted in the view of the display 206 (see FIG. 2). The viewer 804 canextend org.eclipse.ui.editors using the GEF GraphicalEditor, but as a“read-only” editor view.

Testing/Preview Viewer 806

The Testing/Preview viewer 806 emulates the runtime behavior of theapplication 105 outside of the device 100 (on the designer's computer201—see FIG. 2). The viewer 806 interacts with: the □Skin Manager 618 ofthe service layer 614 (see FIG. 6) such that a collection of skinplug-ins are managed for the emulated device 100; the Runtime Data Model610 that models the properties and state of the emulated application 105and the □Design Time Data Model 608 that provides the metadata for theemulated application 105, such as what visual elements exist on a screenand how they are to be laid out.

Referring to FIGS. 1 and 9, a method 900 is shown for developing theapplication 105 having component2 400,402,404 with descriptors expressedin a structured definition language and component 406 expressed as aseries of instructions. It is recognised that individual components400,402,404, 406 interact for processing messages on the runtimeenvironment RE of the device 100 that are received from the datasource106 over the network 10. In constructing the application 105, thedefinitions of the components 400,402,404 are developed 902 throughinteraction with the data model 608, the model 608 for providing apersistent state of the application. The instructions of the secondcomponent are developed 904 through interaction with the data model 608.Message mapping information of the data source 106 selected for theapplication 105 is obtained 906 for assisting in the generation of thedefinitions based on the mapping information. Once completed, thecomponents 400,402,404,406 are assembled 908 into the application 105.

Application Development Patterns 648

Recommendation Patterns 654

Referring to FIGS. 13 and 14, the tool 116 can use the ApproachRecommendation pattern 654 presented on the display 206 (see FIG. 2) asa wizard 604 in order to guide the developer to determine which of theavailable development approach patterns 650 are best suited to thecurrent development activity. As noted above, the wizard 604 operationis guided through the dialogs 605 accessed through the user interface202 of the tool 116. For example, the developer is faced with theinitial problem of how to decide which approach pattern 650 to take whendeveloping the application 105. Referring to FIG. 14, the developerstarts 1402, or otherwise continues an existing application 105 project,by considering some issues that may effect the pattern 650 selected,issues such as but not limited to: limitation to a framework of existingelements such as web services, prior applications, current databaseconfiguration or some combination of these elements. The developer thenreviews 1404 design parameters that may factor in to the approachpattern 650 selection, which can include parameters such as but notlimited to: there is an existing application operation with wellunderstood workflow and/or screens that are required to be emulated bythe application 105; there may be a specific datasource 106 that will beconnected on the backend, and it is desired to model the application 105based on this specific datasource 106 schema; there may be an existingweb service (datasource 106) that the application should interact withand accordingly no changes may be made to the behaviour of that webservice (datasource 106); and the application 105 may be a simple testof the web service or may generate a simple form based interface. Thesedesign parameters can be suggested by the pattern 654 to the developervia the display 206 as desired.

Based on a decision 1404 of which component(s) 400,402,404,406 arecentral to the development approach patterns 650, the recommendationpattern 654 can select 1406 automatically (communicated to the developervia the display 206) which of the patterns such as but not limited to: abottom-up pattern 650 a that is message component 404 centric; a lazyman pattern 650 b that is message component 404 centric; a data drivenapproach 650 c that is data component 400 centric; and a business domaintemplate pattern 650 d that is data component 400 centric, as furtherdescribed below. It is also recognised that the developer could not usethe recommendation pattern 654 and instead manually select 1406 which ofthe development approach patterns 650 to start with. Further, it isrecognised that other development patterns 650 could be screen component402 and/or workflow component 406 centric, as desired. Further, it isrecognised that there may be situations in which more than one component400,402,404,406 can be selected as a starting point for applicationdevelopment purposes, based on the step 1404 However, in this case, aspecific editor 600 or viewer 602 associated with one of the selectedcomponents 400,402,404,406 could be selected (either manually orautomatically) as a module 601 to start the development process.

Referring again to FIG. 14, if the pattern 650 decision at step 1406 is,for example, that there is an existing web service (data source 106)that is available, and the application 105 is restricted to employ thecorresponding Web Services interface, then a message component 404centric approach can be taken at step 1408, referred to as the “BottomUp Approach” pattern 650 a. An extreme case of this situation, in whichthe developer cares little about how the application looks, may allowthe use of the Lazy Man Approach pattern 650 c which is also messagecomponent 404 centric. On the other hand, if at step 1406 the developerhas the application 105 development task that closely mirrors anexisting datasource schema, the Data Driven Approach pattern 650 c canbe selected 1408 which is data component 400 centric. Similarly, astandard set of data components 400 that model a particular businessdomain may be the reason for selecting 1408 the business domain templatepattern 650 d, also data component 400 centric. Accordingly, theparticular development patterns 650, either the above described orothers as desired, can be selected according to component400,402,404,406 centric reasoning.

Development Patterns 650

BottomUpApproach Pattern 650 a

Referring to FIGS. 13 and 14, the Bottom Up Approach pattern 650 a takesthe approach of generating the suitable application 105 based onavailable backend datasouce 106 messaging description (e.g. SQL andWSDL). Included in this pattern selection 650 a are the issues of: howyou do intelligently and efficiently build the application 105 thatworks to an existing Web Service or other datasource 106 service; andare one or more existing backend datasource 106 services that thedeveloped application 105 must address or otherwise communicate with.Example design parameters for consideration are: a typical corporationhas its legacy set of available services of the datasource 106 and a setof public Web Services available via the internet may be the frameworkfor the application 105. Accordingly, the above details and decisionscould be displayed to the developer via the display 206 or could bedecided upon manually by the developer. Based on the above, the pattern650 a could direct the developer (via the display 206 or other means ofthe user interface 202) to:

1. Select the message editor 712 (and associated message related wizards604 at step 1408) (see FIG. 7) at step 1410 for assembling a messagecomponent 404;

2. Enter the URL of the target Web Service;

3. Pick operation to generate messages of the message editor 712;

4. Select field default values;

5. Acknowledge recommendations for message duplication generated by theMessageAutomerge pattern 660 b (further discussed below), for exampleusing the model validator 602 (see FIG. 6);

6. The MessageContentTarget pattern 658 a (further discussed below) maybe applied if the developer wants to generate a suitable data component400 to persist the message data of the message component 404, or linkthe message of the message component 404 to a screen defined in a screencomponent 402; and

8. The development of the application can be completed 1412 byspecifying any additional data 400, screens 402, and workflow 406 (e.g.navigation) components using associated editors 600 and viewers 602 withrelated wizards 604 as further described below. This can be accomplishedby going directly to step 1412 or by crossing the paths of step 1408under direction of the appropriate wizard 604 (indicated symbolically byreference numerals 1409).

Lazy Man Approach Pattern 650 b

Referring to FIGS. 13 and 14, the Lazy Man Approach pattern 65 ob can bean extension of the Bottom Up Approach pattern 650 a, whereby the entireapplication 6105 is generated including data components 400 and screencomponents 402. Included in this pattern selection 650 b are the issuesof: how do you efficiently generate the application 105 to be able totest an existing Web Service data source 106; and you are in the earlystages of development and your target Web Service datasource 106 ischanging the messaging schema frequently, for example you want to beable to quickly generate the application 105 to test the interface andare not really concerned about the presentation of the application 105.Example design parameters for consideration are: the UI appearance ofthe application 105 may have little effect on ability to interact withthe Web Service datasource 106; and the developer may be most concernedwith testing and debugging of the backend datasource 106. Based on theabove, the pattern 650 b could direct the developer (via the display 206or other means of the user interface 202) to:

1. start with the Bottom Up Approach pattern 650 a, which is applied atstep 1408 and extended;

2. in conjunction with the data editor 710 (and potentially editor 704)at step 1410 and if desirable 1409 the pattern 650 b provides a set ofsuggested data components 400 to model data passed or returned frommessage invocations of the message components 404;

3. a set of default screens to present or enter data passed to the WebService is generated by the screen editor 708 and potentially viewer804) and accepted; and

4. The development of the application 105 can be completed 1412 byspecifying any additional data 400, screens 402, and workflow 406 (e.g.navigation) components using associated editors 600 and viewers 602 withrelated wizards 604 as further described below. This can be accomplishedby going directly to step 1412 or by crossing the paths of step 1408under direction of the appropriate wizard 604 (indicated symbolically byreference numerals 1409).

Data Driven Approach Pattern 650 c

Referring to FIGS. 13 and 14, the Data Driven Approach pattern 650 cassists the developer to create the application 105 using the tool 116that closely resembles or is otherwise similar to an existing databaseschema. Included in this pattern selection 650 c are the issues of: howdo you produce the application 105 that takes its structure primarilyfrom an existing datasource 106 model; the target application datastructure is to closely/identically resemble a portion of the datasource106 schema; and the application 105 is used primarily to view or updateinformation being stored in the backend datasource 106. Example designparameters for consideration are: the application 105 is data centricand the functionality of the application 105 behaves in a simpleview/update/delete mode. Based on the above, the pattern 650 c coulddirect the developer (via the display 206 or other means of the userinterface 202) to, by way of example only:

1. Select the data editor 710 at step 1410 (and associated data relatedwizards 604) at step 1408;

2. Select to generate the data components 400 according to the databaseschema using the editor 712 (and potentially editor 704);

3. Provide the location of the database schema (e.g. may be expressedthrough a ddl file);

4. Suggesting matching data components 400 to “cache” data expressedthrough the tables as per the previous step;

5. The developer may select a subset of the available tables such thatthe tool 116 maintains the minimum (or other predefined criteria)dependent relation set for associated required tables;

6. The user may specify how the table is accessed, e.g.select/update/delete, and suggested messages may be generated by themessage editor 712 to support these functions; and

7. The application is completed 1412 by providing the messagingcomponents 400 to perform interaction with the datasource 106 using themessage editor 712 (assuming step 6. was skipped), and providing screencomponents 402 to visualize and manipulate the data components 400 byemploying at step 1412 appropriate screen editors 708 and viewers 804with related wizards 604 where provided by the tool 116.

BusinessDomainTemplate Pattern 650 d

Referring to FIGS. 13 and 14, the BusinessDomainTemplate pattern 650 dmay be used to assist the developer as part of the primary approaches togenerate a standard set of data components 400 that model a particularbusiness domain for the application 105. Included in this patternselection 650 d are the issues of: how do you produce the application105 that is best suited for a particular vertical market place; and youare developing the application 105 for a particular domain of businessapplications, e.g. insurance, health sector, real estate, auto industryetc. Example design parameters for consideration are: business sectorstypically have their own well defined entities and relationships; thedeveloper wants to make sure that the application 105 is familiar to thedomain user; desire to avoid “reinventing the wheel”; and desire to makesure the application 105 adheres to accepted conventions. Based on theabove, the pattern 650 d could direct the developer (via the display 206or other means of the user interface 202) to, by way of example only:

1. The business domain template pattern 650 d (e.g. wizard) is invoked1408 on the display 206 by the developer using the UI 202, and theschema (XSD) location for the business domain is provided;

2. the tool 116 generates a set of data components 400 matching thebusiness domain through using the data editor 710 at step 1410;

3. the developer may select the objects of the schema that are ofinterest, discard those that are not used (typical domain schemas arequite large);

4. the tool 116 maintains relationships between connected dataexpressions in the schema to make sure that all dependent components 400are included; and

5. the application 105 is completed 1412 by providing the messagingcomponents 400 to perform interaction with the datasource 106 using themessage editor and providing screen components 402 to visualize andmanipulate the data components 400 by employing at step 1412 appropriatescreen editors 708 and viewers 804 with related wizards 604 whereprovided by the tool 116.

It is recognised that use of other editors 600 and viewers 602, otherthan those described above by way of example only, may be directed bythe wizard 604 for the respective pattern 650 a,b,c,d as required. Thisincludes interaction between wizards 604 and associated patterns 648 aspreferably directed through the wizard 604 for the respective pattern650 a,b,c,d as displayed to the developer on the display 206 (orotherwise through the user interface 202).

Validation Patterns 660

Message Automerge Pattern 660 a

An MessageAutomerge pattern 660 a is a refinement pattern that mayreduce duplication in definition of messages of message components 404exchanged with the backend datasource 106. This pattern 660 a can beimplemented on the display 206 when the validator 620 (see FIG. 6) isinvoked for validation purposes of the application 105, as a consequenceof developer input events on the UI 202. Included in this patternselection 660 a are the issues of: how do you generate the mostefficient set of messages to interact with the backend Web Service; andyou are developing the application 105 using the Bottom Up Approachpattern 650 a and have generated a set of messages for a particular webservice (data source 106). Example design parameters for considerationare: some interfaces may exchange similar or duplicate sets ofparameters; and every duplicate specification has an associated (andunnecessary) cost in terms of application 105 size, over the airtransmission overhead, on device runtime RE requirements. Based on theabove, the pattern 660 a could direct the developer (via the display 206or other means of the user interface 202) to, by way of example only:

1. the set of generated messages (of the message component 404 by themessage editor 712 for example) is provided by (for example) by theBottom Up Approach pattern 650 a as described above;

2. the messages are analyzed to see if there is commonality in terms ofthe messages, e.g. one message is a subset of another (comparison iffield numbers & types) and/or any duplicate message definitions;

3. the tool 116 makes recommendations where prototyping may be used todefine similar messages by inheritance, or where duplicate messages maybe eliminated.

DataAutomerge Pattern 660 b

This pattern 660 b is capable of providing the same sorts ofoptimizations and steps discussed for messages in the MessageAutomergepattern 660 a when applied to the set of Data component 400specifications (by the data editor 710 for example) of the developedapplication 105.

Screen Patterns 656

Referring to FIG. 14, the screen patterns 656 can be applied at steps1410 and/or 1412 as secondary patterns 648 to assist in generation ofthe screen components 402 according to the primary pattern 650direction/coordination, i.e. pattern 650 drives pattern 656 that drivesthe operation of the screen editor/viewer 704,804 in assisting thedeveloper in generation of the screen components 402 of the application105. The coordination 1500 of primary and secondary patterns is shown inFIG. 15, where the primary pattern (for example pattern 650) is firstinvoked 1502 (for example by patterns 654). The primary pattern theninvokes or otherwise selects 1504 the secondary pattern (for examplepatterns 652,656,658,660) which in turn assist or otherwise invoke 1506the appropriate editors 600 and viewers 602 for development of thecomponents 400,402,404,406 as desired by the developer or otherwisedirected by the patterns 652,656,658,660 (i.e. wizards 604). It is alsorecognised that the primary patterns could invoke 1508 directly theappropriate editors/viewers 600, 602 as desired. Also, once thesecondary pattern has completed its direction of the associatededitors/viewers 600,602 in developing the corresponding components400,402,404,406 (i.e. the editor 712 being directed by the pattern 658to construct the message component 404), direction can be handed back1510 to the original primary pattern or to a different primary patternor handed 1512 to other secondary pattern to continue the application105 development.

Form Pattern 656 b

The Form pattern 656 b provides a way for the developer to efficientlygenerate a screen (as screen component(s)), using the screen editor 704and viewer 804, that collects and submits some values. Included in thispattern selection 656 b are the issues of: how do you efficientlyproduce a form to collect and submit some information; and the screen tobe produced has a structured, such as a table based format. Exampledesign parameters for consideration are: forms are frequently used tocollect standard sets of information e.g. user details, preferences etc.Based on the above, the pattern 656 b could direct the developer (viathe display 206 or other means of the user interface 202) to, by way ofexample only:

1. the developer is prompted by the pattern 656 b using the screeneditor/viewer 704,804 for the number of columns that will appear in theform;

2. or each row that is to appear in the form;

a. the developer identifies what type of control appears in each columne.g. label, editbox, image, etc such that the developer enters requiredtext for any labels and identifies data mappings where appropriate;

3. the developer identifies how screen transition takes place viasubmission, e.g. submit by button, submit by menu item and appliesMessageOrigination pattern 652 a where appropriate; and

4. the screen component 402 development is completed (either in whole orin part) and subsequent editors/viewers 600,602 are either invokeddirectly or though subsequent wizards 604.

DataSheet Pattern 656 e

The DataSheet pattern 656 e provides a way to generate a screen that isbased on a data definition of a data component 400, for example.Included in this pattern selection 656 e are the issues of: how do yougenerate a screen that is based on an existing data definition; and whenusing this pattern 656 e, the screen becomes a visual means to representthe data structure itself. Example design parameters for considerationare: some screens are generated just for the purpose of modifying a datacomponent 400. Based on the above, the pattern 656 e could direct thedeveloper (via the display 206 or other means of the user interface 202)to, for example only:

1. using the screen editor/viewer 704,804 the developer provides thedata component 400 definition from which the screen is to be generated;

2. the tool 116 generates a screen (using a screen component 402 andassociated editor/viewer 600,602) having two columns; one column for thefield names, another column for the field values, such that

-   -   a. the control names may be automatically generated based on the        data component 400 definition field names,    -   b. the control type will be generated based on the data type        where,        -   i. simple fields are mapped to edit boxes, and        -   ii. nested data fields produce an “Add”, “Edit” and “Remove”            buttons. The DataSheet pattern 656 e is reapplied to            generate the screen (screen component 402) that visualizes            the nested data component 400 such that,            -   I. presentation of the “Add”, “Edit” and “Remove”                buttons depend on runtime conditions (ie. Whether the                nested component is null or not),        -   iii. Nested array type fields generate a choice list such            that,            -   I. arrays of simple values can be represented directly                by the choice list,            -   II. arrays of components use the DataSheet pattern 656 e                to be reapplied for the contained datatype, and            -   III. “Add”, “Edit” and “Remove” buttons may be displayed                based on runtime conditions,                -   a. Add is always displayed,                -    i. At runtime the “Add” button may open the dialog                    605 to collect a simple value, or may transition the                    application 105 to a sub page to create the data                    component 400,                -   b. Edit is displayed when a choice is made,                -   c. Remove is displayed when a choice is made,                -    i. Removal of data component 400 may prompt the                    user if they want to remove all nested data                    instances,            -   iv. Fields having resource designation result in image                field,    -   c. The field labels should be entered by the developer,    -   d. Any particular field may be skipped at the discretion of the        developer,

3. the tool 116 generates a submit button that applies the values, and

4. the screen component 402 development is completed (either in whole orin part) and subsequent editors/viewers 600,602 are either invokeddirectly or though subsequent wizards 604.

SlideShow Pattern 656 a

The SlideShow pattern 656 a generates a screen (i.e screen component402) that visualizes a dynamic set of images. Included in this patternselection 656 a are the issues of: how do you effectively show a seriesof images where the number of images is dynamic so cannot be determinedat design time; and the application 105 relies on a dynamic set of URLSthat may point to different images based on some prior conditions.Example design parameters for consideration are: it is difficult andtime consuming to produce the screen and script that allows for thisbehaviour. Based on the above, the pattern 656 a could direct thedeveloper (via the display 206 or other means of the user interface 202)to, by way of example only:

1. using the screen editor/viewer 704,804 the developer identifies thesource of the URLS (from array)

-   -   a. May be an array field on the data component 400,    -   b. May be an array field on a received message;

2. the tool 116 generates a basic screen (component 402) having an imagecontrol mapped to a global variable

-   -   a. the tool 116 generates the global variable;

3. the tool 116 generates a “next” button

-   -   a. an attached script component 406 is generated that loads the        global variable of 2.a with the next image URL from 1;

4. the tool generates a “done” button; and

5. the screen component 402 development is completed (either in whole orin part) and subsequent editors/viewers 600,602 are either invokeddirectly or though subsequent wizards 604.

Access Device Data Pattern 656 c

The Access Device Data pattern 656 c provides intelligent handling ofaccess to “built-in” collections based on device access (e.g. Calendarappointments, Addressbook entries etc.). The pattern 656 c provides ameans to distinguish between the entire collection of components asmanaged by the device 100, and a subset of components created andmanaged by the application 105. Included in this pattern selection 656 care the issues of: how do you easily distinguish between use of theentire device 100 managed collection of external components, versus justthe subset of components on which the application 100 operates; and youare developing the screen component 402 that makes reference to anexternal collection such as calendar appointments. Example designparameters for consideration are: some applications 105 may want tooperate on all the external collection entities managed by the externalapplication; some applications 105 may want to show only externalapplication components that are created and managed by the itself. Basedon the above, the pattern 656 c could direct the developer (via thedisplay 206 or other means of the user interface 202) to, by way ofexample only:

-   -   1. using the screen editor/viewer 704,804 the developer links a        control to a “built-in” collection such as Calendar or        Addressbook;    -   2. the developer indicates the containment relationship for the        built-in collection    -   a. the collection can include all references created and managed        externally by the accessed application    -   b. the collection can include only those components created or        referenced explicitly by the application;    -   3. the tool 116 generates the data component 400 for the        situation indicated in 2    -   a. For standard collection of components, the application 105        data component 400 simply uses the built-in component by name        e.g. “Address”,    -   b. For the application 105 managed collection, the application        data component 400 extends the built-in component and adds a UID        key field,    -   i. The extended data component 400 is given a hidden name,        possibly by pre-pending the application 105 name to the        collection name,    -   ii. the tool 116 then uses this hidden name when generation of        the screen occurs, but continues to use the built-in collection        name in the design views of the tool 116,    -   iii. the tool 116 maintains relationship to the correct        underlying type when data is passed to a script or another        screen component 406,402; and    -   4. the screen component 402 development is completed (either in        whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.

Supporting Code:

The built-in collection may be extended as follows to allow application105 managed collections:

<data name=”[wicletName]Address” prototype=”[UIDpkg]” pkey=”UID”><dfield name=”UID” type=. . . /> </data>Make Screen Controls Conditional Pattern 656 d

The Make ScreenControls Conditional pattern 656 d allows the developerto attach a condition to a screen control that specifies the criteria bywhich visibility is determined. Included in this pattern selection 656 dare the issues of: how do you specify that a particular control may onlybe shown under certain circumstances; how can you write the application105 in such a way that as little navigation logic as possible isembedded into the script components 406, and is rather expressed in thescreen definition; and you are developing the application 105 that hasnavigation or message sending that is conditional on some testablecriteria. Example design parameters for consideration are: it isdesirable to shift conditional logic for navigation from the scriptsinto the definitions of the screen component 402; and you want to takefull advantage of other helper patterns such as the MessageOriginationpattern 652 a (for example). Based on the above, the pattern 656 d coulddirect the developer (via the display 206 or other means of the userinterface 202) to, by way of example only:

-   -   1. using the screen editor/viewer 704,804 the developer        indicates that a particular control is subject to conditional        logic;    -   2. the tool 116 presents an area whereby the condition may be        stated    -   a. prior conditions generated are displayed for reuse;    -   3. the tool 116 associates the condition to the control and        prompts whether other patterns such as Message Origination 652 a        are to be applied; and    -   4. the screen component 402 development is completed (either in        whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.

Supporting Code:

Consider the following two examples:

Example A: (Correct Approach): <screen name=”fromScreen”> <buttonname=”submitToScreenA” condition=”return User.selection == “A”> <eventscript=”sendMsgAGotoA” param=”aType”/> </button> <buttonname=”submitToScreenB” condition=”return !User.selection == “A”> <eventscript=”sendMsgBGotoB” param=”bType”/> </button> </screen> <scriptname=”sendMsgAGotoA” params=”a”> A.send(a); ScrA.display( ); </script><script name=”sendMsgBGotoB” params=”b”> B.send(b) ScrB.display( );</script> Example B: (Incorrect Approach) <screen name=”fromScreen”><button name=”submitToScreenAOrB”> <event script=”sendAndBranchAOrB”param=”aType, bType”/> </button> </screen> <script name=”sendAndBranchAOrB” params=”a,b”> if(User.selection == “A”) { A.send(a);ScrA.display( ); } else { B.send(b); ScrB.display( ); } </script>

Example A illustrates the correct approach whereby the conditionalnavigation is embedded into the screen via a condition script. Thescript performing the screen transition and message send is gated by thecurrent state of User.selection. Example B illustrates the lessdesirable approach whereby the conditional logic is evaluated within asingle script. By using the approach of Example A, theMessageOrigination pattern 652 a may be more readily applied.

Script Patterns 652

MessageOrigination Pattern 652 a

The MessageOrigination pattern 652 a provides an intelligent means ofgenerating script required to send a message of a message component 404.The pattern 652 a applies some rules to determine where the content ofthe message should come from. Included in this pattern selection 652 aare the issues of: you are developing a screen component 402 that willcollect or manipulate some information and then send a message; how canyou easily produce the script required to send the message; the screencomponent 402 has an associated data type for processing that may havebeen supplied as a parameter, constructed in the screen, or referencedas part of a collection. Example design parameters for considerationare: the ability to generate scripts for common usage scenarios canreduces the complexity of developing applications 105; and Message,screen, data definitions or respective components and theirinter-relationships adhering to application 105 development bestpractices typically may be subject to a set of recognized processingrules. Based on the above, the pattern 652 a could direct the developer(via the display 206 or other means of the user interface 202) to, byway of example only:

-   -   1. using the workflow/script editor 702,706 when developing a        workflow component 406 that may branch conditionally to other        screens (components 402), or send different messages, the        conditional logic should be captured in the screen component 402        design rather than shifted to the workflow component 406        (observe the Make Screen Controls Conditional 656 d approach),        such that the effect of using this approach is that there need        not be conditional logic embedded into the script generated by        the MessageOrigination pattern 652 a;    -   2. as part of definition of a button or menu item, the user may        attach a script to do custom processing. One typical processing        is to send a message, and transition to another screen        -   a. the user is prompted if the script is to send a message,            and identifies the message type (M) to be sent,        -   i. a subset of most likely messages to be sent can be            extracted by observing mappings in use for data types that            have been used in the screen definition of the component 402            (parameter or linked data),        -   ii. any other message previously defined may be chosen,        -   b. the user is prompted for the screen to which the            application will transition;    -   3. the mappings rules for message type M are determined,        -   a. mapping in place to one or more data types (message            mapping or field mapping),        -   i. the source of mapped data types must be indicated,            -   I. may be a data parameter that was passed to the screen                component 402,            -   II. may be a data type linked to a control used                elsewhere in the screen component 402,            -   III. may be the base data type of a collection (e.g.                Data),            -   IV. may be the base data type of a collection type field                on another data type (e.g. Data1.Data2),        -   ii. a script is generated that sends a message using data            identified,        -   iii. a field mapped message generates a script of the            component 406 that uses the data instances passed to the            script to initialize the fields prior to sending,        -   iv. a field mapped message that contains extended fields            causes the tool 116 to prompt for values of these fields            (may be from a screen control for instance, or just a            literal value),        -   v. the script that sends the message using specified data,            and accepts appropriate parameters is generated. Message            field sets are generated as required and the next screen is            requested,        -   b. There are no mappings for message type M,            -   i. the tool 116 prompts the user to identify where each                of the field values come from                -   1. may be from other screen fields,                -   2. may be simple literal values,                -   3. may be ignored,            -   ii. the tool 116 generates the script that accepts                required parameters, sets the fields and sends the                message, followed by transition to the next screen of                the screen component 402,        -   c. mapping in place but the mapped data type is not passed            to or used within the screen,            -   i. generates an error message, this message cannot be                sent from this screen;    -   4. as an alternative to enforcing mappings for an existing        message, the option to create a new message is offered        -   a. initial definition of the message can be suggested based            on fields that are currently used within the screen, or            linked data types that may be candidates for message            mappings; and    -   5. the workflow component 406 development is completed (either        in whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.        MessageReception 652 c

The MessageReception pattern 652 c provides a means to utilize commonprocessing at the reception of a message. Included in this patternselection 652 c are the issues of: how do you simplify the specificationof effect of application 105 through script when a message is received;you are writing the application 105 that receives messages; the messagesof interest contain field level mappings which indicates that additionalprocessing through script of the workflow component 406 may be required.Example design parameters for consideration are: there are some commonscenarios that may be applied to reception of a field level mappedmessage; and there are primary key field mappings in the message that donot update other mapped data fields. Based on the above, the pattern 652c could direct the developer (via the display 206 or other means of theuser interface 202) to, by way of example only:

-   -   1. using the workflow/script editor 702,706 the message        specification of a message M is analyzed,        -   a. a message mapping in place indicates low likelihood of            need for additional processing where there is no need for            the tool 116 to prompt the developer to attach a script,        -   b. Field mapping relationships in place indicate a greater            likelihood for additional processing through script,            particularly,            -   i. a message that has primary key field mappings to data                types that are not referenced on other message fields is                an immediate trigger to prompt through the tool 116 the                need for additional processing;    -   2. primary key field mappings are detected,        -   a. in the case that there is one isolated primary key field            mapping (i.e. create) the tool 116 may prompt the developer            if it is desired to attach additional processing through the            script, the created script of the workflow component 406            would be empty in this case,        -   b. in the case that there are two or more such isolated            mappings as indicated above:            -   i. if one mapped data type is a nested field of the                other data type: Data1.x, type of x is Data2,            -   I. the tool 116 recommends to set the instance of Data2                onto Data1 field x.            -   II. a script of the workflow component 406 is generated                that performs the set operation            -   ii. if one mapped data type is the base type of a nested                collection on the other data type: Data1.x, type of x is                Data2            -   I. the tool 116 recommends that either an add, or remove                may be performed,            -   II. the developer chooses the preferred option and the                associated script of the workflow component 406 is                generated;    -   3. in the case that a field mapping is specified to a data type        is that not correlated by a primary key mapping        -   a. the tool 116 may prompt the developer if every instance            in the collection of this data type should be updated with            that field value,            -   i. A subset of the entire collection may be specified                via a where clause,            -   I. tool 116 prompts for condition field of data type,            -   II. tool 116 prompts for comparison operator,            -   III. tool 116 prompts for comparison value,                -   a. may be specified as coming from another field of                    the message that is not mapped; and    -   4. the workflow component 406 development is completed (either        in whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.        Control Condition Pattern 652 b

The Control Condition pattern 652 b provides guidelines necessary togenerate a condition affecting the display of a particular screencontrol though a script that could be contained in a workflow component406. A Control Condition always evaluates to a boolean result. Includedin this pattern selection 652 b are the issues of: how do you specifythat display of a screen control is dependent upon satisfying a set ofconditions; how do you easily generate a script to implement thisconditional behaviour; you are developing the application 105 that hasbranching or dynamic screen behaviour based on the current state of anelement of data, the state of a screen control, or value in a passedparameter. Example design parameters for consideration are: thedeveloper may have little scripting knowledge; and writing script iserror prone. Based on the above, the pattern 652 b could direct thedeveloper (via the display 206 or other means of the user interface 202)to, by way of example only:

-   -   1. using the workflow/script editor 702,706 and or screen        editors the developer is presented with a list of available        -   a. Data collections,        -   b. Current screen control names (edit boxes and list            controls),        -   c. Available parameters that were passed to the screen,    -   2. the developer chooses one of the available entities provided        in 1.        -   a. For collections,            -   i. the developer may test that there is at least one                element (size( )>0),            -   ii. the developer may test that a particular field is                contained,            -   I. “contains field” text is displayed for collections,            -   II. “field value is” is displayed for keyless                (singleton) collections,            -   III. the developer may enter the field name,            -   IV. the developer may specify the field value,                -   a. could be a literal (design time),                -   b. could be a runtime value,                -   i. field of data instance created or passed to the                    screen,                -   ii. control field of current screen,        -   b. for screen parameters,            -   i. Parameter itself,            -   I. developer may test if the instance is undefined (ie                null),            -   ii. single instance parameter fields,            -   I. developer may test that single instance is undefined                (ie null),            -   II. developer may test that field of parameter has                particular value (same as 2.a.ii.3 & 4),            -   iii. array parameter fields,            -   I. developer may test if there is at least one element                (size( )>0),            -   II. developer may test if a particular field is                contained (same as 2.a.ii)            -   Options for test are controlled by what type of element                is selected,        -   c. for screen control fields,            -   i. for a selected edit or textarea control,            -   I. developer may test if value is empty,            -   II. developer may compare value to a literal which the                developer enters,            -   III. developer may test the value with a mask,            -   ii. for a selected choice control,            -   I. developer may test if the choice control is empty                (true or false),            -   II. developer may test if a particular index is                selected,            -   III. developer may compare to a literal which is                provided,            -   IV. developer may test the value with a mask;    -   3. the developer may combine another condition by selecting        “more” and choosing the appropriate operator (e.g. AND/OR);    -   4. the developer may elect to edit the condition in script form        if other advanced behaviour is required; and    -   5. the workflow component 406 development is completed (either        in whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.        Messaging Patterns 658        NotificationBuilder Pattern 658 b

The NotificationBuilder pattern 658 b provides a means to generatenotification and subscription support from a notification datasource106. Included in this pattern selection 652 c are the issues of: how doyou easily generate screens and messages to support a notificationinterface at the backend; how do you generate filters for screening ofnotifications; and you are working to a notification interface that isexpressed through a WSDL file, as an example backend schema. Exampledesign parameters for consideration are: notification Web Services areanticipated as becoming more widespread; notification interfaces andsupporting subscription and filtering is a complex area; the developermust at least know the types of notifications supported by thedatasource 106 through documentation or some other source and/or thepattern 658 b cannot distinguish between complex types used fornotifications and those that are exchanged as part of regularsynchronous request/response. Based on the above, the pattern 658 bcould direct the developer (via the display 206 or other means of theuser interface 202) to, by way of example only:

-   -   1. using the message editor 712 the developer points the tool        116 to the datasource WSDL (i.e. schema),        -   a. the tool 116 presents a list of available complex types            from the WSDL,        -   b. the tool 116 presents a list of available operations from            the WSDL,        -   c. the developer can select from the presented notifications            based on a-priori knowledge of the service being exposed;    -   2. the tool 116 asks the developer whether they want to receive        alerts for certain notifications (building the notification        criteria)        -   a. the tool 116 asks the developer if they want to specify a            separate criteria (ie filter) for the alerts        -   i. if no then the alerts will be a simple checkbox        -   ii. if yes then the alert will have a separate filter            criteria;    -   3. the tool 116 collects the filter requirements for        notifications and alerts as a set of filter parts        -   a. the developer can select from a field of the notification            complex type        -   b. the developer can select a comparison operator            -   i. ==, !=for Strings,            -   ii. ==, !=, >, <, >=, <=for Numbers,            -   iii. Other types,        -   c. the developer can select a comparator field            -   i. another field of the notification (no widget) or a                single literal value,                -   I. the developer can indicate that this filter part                    is conditional,                -   a. a checkbox is used to represent it at the screen,            -   ii. a freeform entry field,                -   I. an editbox is used to represent this filter part                    at the screen,                -   II. The developer provides a text label,            -   iii. an enumeration of values,                -   I. a dropdown or radio button array is used to                    represent this filter part at the screen,        -   d. the developer names the filter part (this is used for            display purposes on the screen),        -   e. The developer can indicate to add another filter part            (boolean expression), joining with either && or ∥ operator;    -   4. the tool 116 makes note of all referenced notification        fields, the remaining fields are candidates for static        notification criteria, i.e. information the user provides when        setting up the notification        -   a. the developer is asked if any of the remaining fields are            to be combined as part of elemental filter criteria,        -   b. if so, the additional filter parts are built using            approach of step 3, whereby only edit boxes and dropdown            fields are permitted for input (no conditional filter parts            here) such that this criteria becomes a static criteria;    -   5. the tool 116 generates required components using appropriate        editors 600 and viewers 602        -   a. a data component 400 containing all the fields of the            notification+an additional primary key field (id),        -   b. Notification message components 404            -   i. a subscribe message component 404 for each                notification type supported,            -   ii. An unsubscribe message component 404 for each                notification type supported,            -   iii. a notification message mapped to data notification                component 404,        -   c. alert message components 404 (if selected),            -   i. an alert subscribe message component 404 for each                notification type supported,            -   ii. an alert unsubscribe message component 404 for each                notification type supported,            -   iii. an alert notification message component 404 with                suitable alert tag,        -   d. a mapping file containing a filter for each notification            and alert            -   i. filters containing conditional elements (ie dynamic                filters) arising when filter parts are mapped to                checkbox controls generate combinations of filters parts                (only one such filter part supported for first phase,                i.e. max 2 filters),            -   I. the subscription message for notification or alert                includes a boolean field to indicate whether this flag                has been selected such that the application gateway AG                applies the correct filter based on the state of the                flag;    -   6. the tool 116 generates support screens (components 402)        -   a. the tool 116 decides on notification basic layout 1600            best approach (see FIG. 16 described below),            -   i. for greater than 4 visible notification information                fields 1604, recommend a stacked (vertical) layout 1602                of fields 1604,            -   ii. for less than 4 visible notification information                fields 1604, recommend a line (flow) layout 1606 of                fields,        -   b. the developer indicates whether the user will            -   i. view results and modify filters on the same page,            -   I. advantage: less page traversals,            -   II. disadvantage: focus visits every editable filter                field,            -   III. see Consolidated Screen discussion below with                reference to FIG. 17,            -   ii. view results and modify filters on a separate page,            -   I. advantage: quick scrolling of notifications,            -   II. disadvantage: have to go to another screen to edit                filter,            -   III. see SeparatedScreen discussion below with reference                to FIG. 18,        -   c. the developer may attach additional fields 1604 to the            presentation that are not part of the notification filter            criteria, but may be part of the notification result (i.e.            mapped to the notification data type generated in 5.a.; and    -   7. the message component 404 development is completed (either in        whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.        ConsolidatedScreen

For example, generated screens 1700 for the consolidated visualizationof notification result and filter are shown in FIG. 17. The line layoutis depicted here but is of no consequence to the behaviour of thescreens. Black and white boxes 1702 are mapped to fields of thenotification (fields A through D). Black boxes 1702 are consideredreadonly, whereas white boxes 1702 may be modified. The main screendisplays static criteria 1707 as readonly. The user is able to modifynotification and alert criteria 1706 which triggers a change action 1705(this may not be a result of menuitem, rather default behaviour ofchanging a field). An updateSubscription script 1710 takes care ofsending the appropriate notification and/or alert messages. The add 1712menuitem transitions the user to the New Notification Screen 1704, whereboth the notification and alert filters and the static criteria 1707 ofthe subscription may be specified. A submit button 1714 calls acreateSubscription script 1716 that sends the appropriate subscriptionmessages. Finally a remove 1718 menuitem runs a script 1720 that removesthe current notification and related subscription.

SeparatedScreen:

The generated screens 1800 for separate result and filter modificationscreens are depicted in FIG. 18. The line layout is depicted here but isof no consequence to the behaviour of the screens. Black and white boxes1802 are mapped to fields of the notification (fields A through D).Black boxes 1802 are considered readonly, whereas white boxes 1802 maybe modified. A main screen 1806 displays all notification resultspreviously setup in a repetition layout 1808. There is no ability tomodify the filter from this screen 1806. A change 1810 menuitemtransitions the user to a screen 1812 where a single notification isdisplayed. A static criteria 1814 is not modified at this screen 1812,but the notification fields may be updated to generate a resubscription.An updateSubscription script 1814 would take care of sending theappropriate subscription messages including if both alert andnotification filters are modified. An add 1818 menuitem transitions theuser to the screen 1814 where both the notification and alert filtersand the static criteria 1814 of the subscription may be specified. Asubmit button 1822 calls a createSubscription script 1824 that sends theappropriate subscription messages. Finally a remove 1818 menuitem runs ascript 1820 that removes the current notification and relatedsubscription.

EXAMPLE

The weather notification example from the “AG, RE, IDE Notifications”document will be used to illustrate this pattern 658 b.

-   -   1. The developer points to the weather notification Web Service,    -   2. The developer chooses the notification complex object as        notification object,    -   3. The developer indicates that they will be receiving both        alerts and notifications,        -   a. The developer indicates that the alert will not specify            its own criteria, just allow it to be turned on and off: a            checkbox is generated,    -   4. The tool 116 begins to build the notification criteria,        -   a. The developer indicates field type from the notification,        -   b. The developer indicates operator ==,        -   c. The developer indicates comparison to an enumerated type            of values “alert”, “forecast”, “report”: a dropdown is            generated,        -   d. The developer names the filter part: Alert Type,        -   e. The developer indicates to add another filter part with            operator &&,        -   f. The developer indicates field temperatureDiff from the            notification,        -   g. The developer indicates operator ==,        -   h. The developer indicates comparison to an enumerated range            of numerals 5, 10, 15, 20, 25, 30, 25, 40: a dropdown is            generated,        -   i. The developer names the filter part: Temperature Diff,        -   j. The developer indicates to add a final filter part with            operator &&,        -   k. The developer indicates field weatherOriginal from the            notification,        -   l. The developer indicates operator !=,        -   m. The developer indicates field weatherNew from the            notification        -   i. The tool asks the developer if this is to be a            conditional field        -   ii. The developer indicates yes: a checkbox is generated        -   n. The developer names the filter part: Weather Changes    -   5. The tool 116 recognizes a set of notification fields that are        not included in the notification criteria,    -   6. The developer indicates that there are additional fields that        are to be included in the subscription. They are not dynamically        changeable by the user, only specified when a new subscription        is set up (static criteria),    -   7. The developer adds to the filter of part 4 by specifying a        freeform entry box for each of the Location, County and State        fields of the notification. The mechanism of part 4 is reapplied        for logical operators: Editboxes are generated for each,    -   8. The tool 116 recommends a stacked layout based on the number        of fields in static and notification criteria,    -   9. The developer chooses from the consolidated screen or        separate screen approach for modifying notification criteria,    -   10. The tool 116 generates        -   a. Required subscription messages for alerts+notifications,            -   i. Generates a boolean flag indicating whether the                Weather Changes checkbox is selected,        -   b. Required mapping files including all filters,            -   i. A separate filter for the Weather Changes filter                part,        -   c. Required unsubscription messages,        -   d. Screens using the stacked layout,            -   i. static criteria fields are labels in all but the add                notification screen            -   ii. notification criteria fields are editable in the add                notification screen and change notification screen and                main screen if using consolidated screens,            -   iii. Labels provided for each filter part are attached                to the corresponding editboxes, checkboxes or dropdowns.                MessageContentTarget Pattern 658 a

This pattern 658 a is used to determine what element is affected by amessage. The target of a message is typically a screen 402 or data 400component. Included in this pattern selection 658 a are the issues of:with the definition of a message in hand, how do you specify the effecton the application of receiving a message; you are using the Bottom UpApproach pattern 650 a, or defining your own set of messages; and youwant to connect these messages to some element of the application 105 tospecify how message reception affects application 105 behaviour. Exampledesign parameters for consideration are: message reception affects theoperation of the application 105 in some way; there is a set of standardeffects that message reception can have. Based on the above, the pattern658 a could direct the developer (via the display 206 or other means ofthe user interface 202) to, by way of example only:

-   -   1. using the message editor 712 with the message definition in        hand, the developer may specify that a message:        -   a. generates a data component 400 instance        -   b. is linked to a screen template such that reception of the            message updates the screen component 402 with new values and            the message is immediately discarded; and    -   2. the message component 404 development is completed (either in        whole or in part) and subsequent editors/viewers 600,602 are        either invoked directly or though subsequent wizards 604.        Example Elements 301

The following are example elements 301 for the deployable application105 jar file that has been generated by the tool 116 for a Weather WebService as an example of the datasource 106.

Weather.mapping

The submitted as a text file entitled “11078430_(—)3.txt” in a computerprogram listing appendix on a compact disc defines example mappings 302to be used by application gateway AG to tie application messaging overthe network 10 with Web Service SOAP messages defined in WSDL. Theinformation and/or data contained 11078430_(—)3.txt is incorporated byreference in its entirety.Weather.xmlThe submitted as a text file entitled “11078430₁₃ 4.txt” in a computerprogram listing appendix on a compact disc defines example XMLdefinitions 300 (e.g. representing components 400,402,404) for inclusionin the deployable application 105 jar file (to be provisioned to thedevice 100). The information and/or data contained 11078430_(—)4.txt isincorporated by reference in its entirety.Weather.script

The following defines example application 105 workflow scripts (e.g.workflow component 406) which can augments the XML definition 300 givenabove when provisioned to the device 100.

1 0.dtd (DTD (Document Type Definition)

The submitted as a text file entitled “11078430_(—)5.txt” in a computerprogram listing appendix on a compact disc defines an example documentstructure for the applications 105. The information and/or datacontained 11078430_(—)5.txt is incorporated by reference in itsentirety.

Although the disclosure herein has been drawn to one or more exemplarysystems and methods, many variations will be apparent to thoseknowledgeable in the field, including substituion of other appropriateeditors 600 and viewers 602 than those used for exemplary purposes inthe description of the patterns 648, and such variations are within thescope of the application. Further, it is recognised that the userinterface 202 and the display 206 could be defined together as the userinterface of the tool 116. Although XML and a subset of ECMAScript areused in the examples provided, other languages and language variants maybe used to define component applications. The proposed E4X standardscripting languages could be used in place of ECMAScript, for example.Further, other structured definition languages, than XML describedabove, can include such as but not limited to Resource DescriptionFramework (RDF), XSLT, and XHTML.

1. A computing device for coordinating a development of a clientapplication including application components comprising one or more ofat least one of a data component, a message component or a screencomponent, having corresponding component definitions, or a workflowcomponent comprising a series of instructions, the computing devicecomprising memory for storing instructions and a processor for executingthe instructions such that when the instructions are executed thecomputing device provides: a first development pattern module configuredfor interaction with a development environment provided by a computeruser interface, the first development pattern module configured forselecting a first pattern from a plurality of patterns based on anapplication component type central to the client application, the firstdevelopment pattern module for guiding a user interface with a pluralityof predefined steps to coordinate a development of the applicationcomponents through user input events via the user interface inaccordance with the first pattern; and at least one first modulecorresponding to application component types associated with the firstpattern, the at least one first module for developing definitions of atleast one of the application components through interaction with a datamodel of the development environment providing a persistent state of theapplication components, the operation of the first module beingcoordinated using the plurality of predefined steps communicated throughthe user interface; wherein the developed definitions of the at leastone of the application components are subsequently coded and assembledas the client application; wherein the first pattern is selected fromthe group consisting of: a pattern for generating a suitable applicationbased on an available backend data source messaging description; apattern for developing the suitable application based on an availablebackend data source messaging description such that the entireapplication is developed including data components and screencomponents; a pattern for developing the application based on anexisting database schema; a pattern for developing a standard set ofdata components that model a particular business domain for theapplication, a screen pattern for coordinating the development of ascreen component as the first component; a message pattern forcoordinating a development of a message component as the firstcomponent; and a script pattern for coordinating a development of aworkflow component as a second component.
 2. The computing device ofclaim 1, wherein the first development pattern module is furtherconfigured for selecting a second pattern for guiding a user of the userinterface with a portion of the plurality of predefined steps tocoordinate the development of the application components through userinput events via the user interface, the second pattern chosen from theplurality of patterns based on a further application component typecentral to the client application.
 3. The computing device of claim 2,wherein the first pattern is a primary pattern configured for eitherdirectly selecting the module or for indirectly selecting the modulethrough cooperation with the second pattern as a secondary pattern. 4.The computing device of claim 2, wherein the second pattern is asecondary pattern configured for returning coordination of thedevelopment of the application components to the first pattern being aprimary pattern.
 5. The computing device of claim 4, wherein the primarypattern employs the plurality of predefined steps to aid in selecting asecond module corresponding to the selected component type differentfrom that of the first module.
 6. The computing device of claim 4,wherein the secondary pattern returns the coordination of thedevelopment of the application components to another primary patterndifferent to the primary pattern.
 7. The computing device of claim 2,wherein the second pattern is selected from the group consisting of: ascreen pattern for coordinating a development of a screen component asthe first component; a message pattern for coordinating a development ofa message component as the first component; and a script pattern forcoordinating a development of a workflow component as the secondcomponent.
 8. The computing device of claim 7, wherein a data componentas the first component is developed through applying the second patternselected from the group consisting of: a screen pattern and a messagepattern.
 9. The computing device of claim 2, wherein the second patternis a validator pattern for confirming the data model representation ofapplication messages is consistent with the datasource presentation ofmessaging operations.
 10. The computing device of claim 9, wherein thevalidator pattern coordinates the operation of the module as a validatormodule having functionality selected from the group consisting of:workflow integrity of a workflow component; consistency of parametersand field level mappings of the components; consistency of screencontrol mappings of a screen component; consistency of screen refreshmessages of a screen component; confirming a presence of messageduplications in a message component; confirming a presence of dataduplications in components; and validating a data model representationof datasource messaging relationships.
 11. The computing device of claim2 further comprising a third pattern module for guiding a developer inselection of the first pattern being best suited to a currentapplication development activity, the first pattern selected from thegroup consisting of: a pattern for generating the suitable applicationbased on an available backend datasouce messaging description, a patternfor developing the suitable application based on an available backenddatasouce messaging description such that the entire application isdeveloped including data components and screen components; a pattern fordeveloping the application based on an existing database schema; and apattern for developing a standard set of data components that model aparticular business domain for the application.
 12. The computing deviceof claim 1, wherein a data component as the first component is developedthrough applying a first pattern selected from the group consisting of:a screen pattern and a message pattern.
 13. The computing device ofclaim 1, wherein the at least one first module further comprises acommand configured for accessing and changing the state of the datamodel.
 14. The computing device of claim 13, wherein the at least onefirst module is configured for being affected by an event notificationfrom the data model in response to the command.
 15. The computing deviceof claim 1, wherein the at least one first module is selected from thegroup consisting of: editors and viewers.
 16. The computing device ofclaim 15, wherein the at least one first module is selected from thegroup consisting of: a screen module; a data module; a message module; aworkflow module; a message and data relationship module; a backendvisualizer module; a localization module; a script editor module; atesting module, a data and screen relationship module; and a navigationmodule.
 17. The computing device of claim 1, wherein the components areselected from the group consisting of: data components for defining dataentities used by the application; screen components for defining theappearance and behavior of the application as displayed on the computingdevice; message components for defining a format of messages used by theapplication to communicate with the datasource; and workflow componentsfor defining application processing that occurs when an action is to beperformed.
 18. The computing device of claim 1, wherein the data modelcontains model constituents selected from the group consisting of: DataComponent Definitions; Global Variable Definitions; Message ComponentDefinitions; Resource Definitions; Screen Component Definitions;Scripts; Style Definitions; and Mapping Descriptors of the data source.19. A computer readable medium storing computer instructions, which whenexecuted by a processor on a computing device cause the computing deviceto coordinate a development of a client application includingapplication components comprising one or more of at least one of a datacomponent, a message component or a screen component, havingcorresponding component definitions, or a workflow component comprisinga series of instructions, the computer instructions for implementing thesteps of: interacting with a development environment provided by a userinterface; selecting a first pattern from a plurality of patterns basedon an application component type central to the client application;providing guidance on the user interface through the first pattern witha plurality of predefined steps in accordance with the first pattern tocoordinate the development of a application components through userinput events via the user interface; selecting a first modulecorresponding to application component types associated with the firstpattern; and developing by the first module definitions of at least oneof the application components through interaction with a data model of adevelopment environment providing a persistent state of the applicationcomponents, the operation of the first module being coordinated usingthe plurality of the predefined steps; wherein the developed definitionsof the at least one of the application components are subsequently codedand assembled as the client application; wherein the first pattern isselected from the group consisting of: a pattern for generating asuitable application based on an available backend data source messagingdescription; a pattern for developing the suitable application based onan available backend data source messaging description such that theentire application is developed including data components and screencomponents; a pattern for developing the application based on anexisting database schema; a pattern for developing a standard set ofdata components that model a particular business domain for theapplication, a screen pattern for coordinating the development of ascreen component as the first component; a message pattern forcoordinating a development of a message component as the firstcomponent; and a script pattern for coordinating a development of aworkflow component as a second component.
 20. The computer readablemedium of claim 19, wherein the first development pattern module isfurther configured for selecting a second pattern for guiding a user ofthe user interface with a portion of the plurality of predefined stepsto coordinate the development of the application components through userinput events via the user interface, the second pattern chosen from theplurality of patterns based on a further application component typecentral to the client application.
 21. The computer readable medium ofclaim 20, further comprising computer instructions for implementing thestep of either selecting directly the first module by the first patternas a primary pattern or selecting indirectly the module throughcooperation with the second pattern as a secondary pattern.
 22. Thecomputer readable medium of claim 20, further comprising computerinstructions for implementing the step of returning by the secondpattern being a secondary pattern coordination of the development of theapplication components to the first pattern being a primary pattern. 23.The computer readable medium of claim 22, wherein the primary patternemploys the plurality of predefined steps to aid in selecting a secondmodule corresponding to the selected component type different from thatof the first module.
 24. The computer readable medium of claim 22,wherein the secondary pattern returns the coordination of thedevelopment of the application components to another primary patterndifferent to the primary pattern.
 25. The computer readable medium ofclaim 20, wherein the second pattern is selected from the groupconsisting of: a screen pattern for coordinating a development of ascreen component as the first component; a message pattern forcoordinating a development of a message component as the firstcomponent; and a script pattern for coordinating a development of aworkflow component as the second component.
 26. The computer readablemedium of claim 25, wherein a data component as the first component isdeveloped through applying the second pattern selected from the groupconsisting of: a screen pattern and a message pattern.
 27. The computerreadable medium of claim 26 further comprising computer instructions forimplementing the step of generating a command by the at least one firstmodule for accessing and changing the state of the data model.
 28. Thecomputer readable medium of claim 27 further comprising computerinstructions for implementing the step of affecting the at least onefirst module by an event notification from the data model in response tothe command.
 29. The computer readable medium of claim 20, wherein thesecond pattern is a validator pattern for confirming the data modelrepresentation of application messages is consistent with the datasourcepresentation of messaging operations.
 30. The computer readable mediumof claim 29, wherein the validator pattern coordinates the operation ofthe module as a validator module having functionality selected from thegroup consisting of: workflow integrity of a workflow component;consistency of parameters and field level mappings of the components;consistency of screen control mappings of a screen component;consistency of screen refresh messages of a screen component; confirminga presence of message duplications in a message component; confirming apresence of data duplications in components; and validating a data modelrepresentation of datasource messaging relationships.
 31. The computerreadable medium of claim 20 further comprising computer instructions forimplementing the step of guiding a developer by a third pattern inselection of the first pattern being best suited to the currentapplication development activity, the first pattern selected from thegroup consisting of: a pattern for generating the suitable applicationbased on an available backend datasource messaging description, apattern for developing the suitable application based on an availablebackend datasource messaging description such that the entireapplication is developed including data components and screencomponents; a pattern for developing the application based on anexisting database schema; and a pattern for developing a standard set ofdata components that model a particular business domain for theapplication.
 32. The computer readable medium of claim 19, wherein adata component as the first component is developed through applying afirst pattern selected from the group consisting of: a screen patternand a message pattern.
 33. The computer readable medium of claim 19,wherein the at least one first module is selected from the groupconsisting of: editors and viewers.
 34. The computer readable medium ofclaim 33, wherein the at least one first module is selected from thegroup consisting of: a screen module; a data module; a message module; aworkflow module; a message and data relationship module; a backendvisualizer module; a localization module; a script editor module; atesting module, a data and screen relationship module; and a navigationmodule.
 35. The computer readable medium of claim 19, wherein thecomponents are selected from the group consisting of: data componentsfor defining data entities used by the application; screen componentsfor defining the appearance and behavior of the application as displayedon the computing device; message components for defining a format ofmessages used by the application to communicate with the datasource; andworkflow components for defining application processing that occurs whenan action is to be performed.
 36. The computer readable medium of claim19, wherein the data model contains model constituents selected from thegroup consisting of: Data Component Definitions; Global VariableDefinitions; Message Component Definitions; Resource Definitions; ScreenComponent Definitions; Scripts; Style Definitions; and MappingDescriptors of the data source.